109 lines
3.9 KiB
Smali
109 lines
3.9 KiB
Smali
.class Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;
|
|
.super Ljava/lang/Object;
|
|
.source "SettingDevelopConsoleFragment.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->a(Landroid/preference/Preference;Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lorg/json/JSONObject;
|
|
|
|
.field final synthetic b:Landroid/preference/Preference;
|
|
|
|
.field final synthetic c:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;Lorg/json/JSONObject;Landroid/preference/Preference;)V
|
|
.locals 0
|
|
|
|
.line 355
|
|
iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->c:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
iput-object p2, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->a:Lorg/json/JSONObject;
|
|
|
|
iput-object p3, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->b:Landroid/preference/Preference;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/moji/dialog/MJDialog;Lcom/moji/dialog/type/ETypeAction;)V
|
|
.locals 2
|
|
.param p1 # Lcom/moji/dialog/MJDialog;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lcom/moji/dialog/type/ETypeAction;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 358
|
|
sget-object p2, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->i:Landroid/content/SharedPreferences;
|
|
|
|
invoke-interface {p2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "setting_develop_console_open_activity_when_app_start"
|
|
|
|
iget-object v1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->a:Lorg/json/JSONObject;
|
|
|
|
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p2, v0, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {p2}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 359
|
|
invoke-virtual {p1}, Lcom/moji/dialog/MJDialog;->dismiss()V
|
|
|
|
.line 361
|
|
iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->b:Landroid/preference/Preference;
|
|
|
|
iget-object p2, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->a:Lorg/json/JSONObject;
|
|
|
|
invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p1, p2}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
.line 362
|
|
iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->c:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object p2, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$8;->a:Lorg/json/JSONObject;
|
|
|
|
invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/mjweather/NavigationManager;->g(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|