109 lines
2.6 KiB
Smali
109 lines
2.6 KiB
Smali
.class public Lcom/moji/appwidget/MainThreadSkinUpdate;
|
|
.super Ljava/lang/Object;
|
|
.source "MainThreadSkinUpdate.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 12
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
const-string v0, "MJWidgetManager"
|
|
|
|
const-string v1, "sendUpdateBroadcast:"
|
|
|
|
.line 23
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 24
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
const-string v1, "com.moji.widget.update.all"
|
|
|
|
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 25
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
const-string v0, "MJWidgetManager"
|
|
|
|
const-string v1, "sendLanguageUpdateBroadcast:"
|
|
|
|
.line 29
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 30
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
const-string v1, "com.moji.widget.update.language"
|
|
|
|
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 31
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
const-string v0, "MJWidgetManager"
|
|
|
|
const-string v1, "sendUpdateBackgroundBroadcast:"
|
|
|
|
.line 35
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 36
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
const-string v1, "com.moji.widget.update.background"
|
|
|
|
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 37
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
const-string v0, "MJWidgetManager"
|
|
|
|
const-string v1, "sendReLoadSkinBroadcast:"
|
|
|
|
.line 41
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 42
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
const-string v1, "com.moji.widget.update.reload"
|
|
|
|
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 43
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|