1660 lines
50 KiB
Smali
1660 lines
50 KiB
Smali
.class public Lcom/moji/mjweather/setting/fragment/SettingFragment;
|
|
.super Lcom/moji/mvpframe/MJPreferenceFragment;
|
|
.source "SettingFragment.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/preference/Preference$OnPreferenceClickListener;
|
|
.implements Landroid/view/View$OnClickListener;
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/util/ArrayList;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field private b:Ljava/lang/String;
|
|
|
|
.field private c:Landroid/widget/TextView;
|
|
|
|
.field private d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.field private e:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.field private f:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.field private g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.field private h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
.field private i:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.field private j:Landroid/preference/Preference;
|
|
|
|
.field private k:Z
|
|
|
|
.field private l:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 88
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
sput-object v0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a:Ljava/util/ArrayList;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 78
|
|
invoke-direct {p0}, Lcom/moji/mvpframe/MJPreferenceFragment;-><init>()V
|
|
|
|
const-string v0, "SettingFragment"
|
|
|
|
.line 79
|
|
iput-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->b:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/preference/Preference;)V
|
|
.locals 3
|
|
|
|
.line 363
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Landroid/preference/Preference;->getKey()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "pref_key_"
|
|
|
|
const-string v2, ""
|
|
|
|
invoke-virtual {p1, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lcom/moji/mjweather/NavigationManager;->b(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
const v0, 0x7f090b84
|
|
|
|
.line 383
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->c:Landroid/widget/TextView;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/mjweather/setting/fragment/SettingFragment;)V
|
|
.locals 0
|
|
|
|
.line 78
|
|
invoke-direct {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(J)Z
|
|
.locals 4
|
|
|
|
.line 431
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-wide v2, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->l:J
|
|
|
|
sub-long/2addr v0, v2
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->abs(J)J
|
|
|
|
move-result-wide v0
|
|
|
|
cmp-long v2, v0, p1
|
|
|
|
if-lez v2, :cond_0
|
|
|
|
.line 432
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide p1
|
|
|
|
iput-wide p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->l:J
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method static synthetic b(Lcom/moji/mjweather/setting/fragment/SettingFragment;)Landroid/preference/Preference;
|
|
.locals 0
|
|
|
|
.line 78
|
|
iget-object p0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->j:Landroid/preference/Preference;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic c(Lcom/moji/mjweather/setting/fragment/SettingFragment;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 78
|
|
iget-object p0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->b:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private c()V
|
|
.locals 2
|
|
|
|
.line 132
|
|
invoke-static {}, Lcom/moji/preferences/units/SettingCenter;->a()Lcom/moji/preferences/units/SettingCenter;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/units/SettingCenter;->b()Lcom/moji/preferences/units/ELanguage;
|
|
|
|
move-result-object v0
|
|
|
|
.line 133
|
|
sget-object v1, Lcom/moji/mjweather/setting/fragment/SettingFragment$5;->a:[I
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/units/ELanguage;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
aget v0, v1, v0
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 144
|
|
:pswitch_0
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const v1, 0x7f0e041e
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 141
|
|
:pswitch_1
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const v1, 0x7f0e041d
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 138
|
|
:pswitch_2
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const v1, 0x7f0e041c
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 135
|
|
:pswitch_3
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const v1, 0x7f0e0361
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private e()V
|
|
.locals 3
|
|
|
|
.line 237
|
|
new-instance v0, Lcom/moji/mjweather/setting/task/MemorySizeTask;
|
|
|
|
sget-object v1, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;
|
|
|
|
new-instance v2, Lcom/moji/mjweather/setting/fragment/SettingFragment$2;
|
|
|
|
invoke-direct {v2, p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment$2;-><init>(Lcom/moji/mjweather/setting/fragment/SettingFragment;)V
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/moji/mjweather/setting/task/MemorySizeTask;-><init>(Lcom/moji/tool/thread/ThreadPriority;Lcom/moji/mjweather/setting/task/callback/MemoryCallBack;)V
|
|
|
|
sget-object v1, Lcom/moji/tool/thread/ThreadType;->NORMAL_THREAD:Lcom/moji/tool/thread/ThreadType;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
new-array v2, v2, [Ljava/lang/Void;
|
|
|
|
.line 244
|
|
invoke-virtual {v0, v1, v2}, Lcom/moji/mjweather/setting/task/MemorySizeTask;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private g()Landroid/view/View;
|
|
.locals 3
|
|
|
|
.line 387
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object v0
|
|
|
|
const v1, 0x7f0b0397
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected a()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f11000b
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method protected a(Landroid/widget/ListView;)V
|
|
.locals 2
|
|
|
|
.line 374
|
|
invoke-super {p0, p1}, Lcom/moji/mvpframe/MJPreferenceFragment;->a(Landroid/widget/ListView;)V
|
|
|
|
const-string v0, "5029"
|
|
|
|
.line 375
|
|
sget-object v1, Lcom/moji/mjweather/MJApplication;->mPKGChannel:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 376
|
|
invoke-direct {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 377
|
|
invoke-virtual {p1, v0}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V
|
|
|
|
.line 378
|
|
invoke-direct {p0, v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/view/View;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method protected b()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
|
|
const v0, 0x7f0e0953
|
|
|
|
.line 369
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected d()V
|
|
.locals 5
|
|
|
|
.line 185
|
|
invoke-super {p0}, Lcom/moji/mvpframe/MJPreferenceFragment;->d()V
|
|
|
|
const-string v0, "setting_key"
|
|
|
|
.line 186
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;
|
|
|
|
const-string v1, "pref_key_setting_weather_switch"
|
|
|
|
.line 188
|
|
invoke-virtual {p0, v1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;
|
|
|
|
const-string v2, "pref_key_setting_item_account_manage"
|
|
|
|
.line 189
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 190
|
|
invoke-virtual {v2, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
.line 191
|
|
iget-object v2, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->i:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v2, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v2, "pref_key_setting_item_message"
|
|
|
|
.line 192
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
iput-object v2, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 193
|
|
iget-object v2, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v2, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v2, "pref_key_product_feed_back"
|
|
|
|
.line 195
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const-string v3, "pref_key_about_moji_team"
|
|
|
|
.line 197
|
|
invoke-virtual {p0, v3}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const-string v4, "pref_key_setting_item_personality_assist"
|
|
|
|
.line 199
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
iput-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 200
|
|
iget-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v4, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_item_foot_print"
|
|
|
|
.line 201
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
iput-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->f:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 202
|
|
iget-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->f:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v4, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_item_launcher_widget"
|
|
|
|
.line 203
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 204
|
|
invoke-virtual {v4, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_about_moji"
|
|
|
|
.line 205
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_user_help"
|
|
|
|
.line 206
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_personality_widget"
|
|
|
|
.line 207
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_item_language"
|
|
|
|
.line 209
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
iput-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 210
|
|
iget-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->g:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v4, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_item_units"
|
|
|
|
.line 211
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_weather_background"
|
|
|
|
.line 212
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_setting_weather_auto_update"
|
|
|
|
.line 213
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
const-string v4, "pref_key_clean_cache"
|
|
|
|
.line 215
|
|
invoke-virtual {p0, v4}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->j:Landroid/preference/Preference;
|
|
|
|
.line 217
|
|
iget-boolean v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->k:Z
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 218
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->j:Landroid/preference/Preference;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/preference/Preference;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
.line 219
|
|
invoke-virtual {v2, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
.line 220
|
|
invoke-virtual {v3, p0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setOnPreferenceClickListener(Landroid/preference/Preference$OnPreferenceClickListener;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 222
|
|
:cond_0
|
|
iget-object v4, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->j:Landroid/preference/Preference;
|
|
|
|
invoke-virtual {v0, v4}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;->removePreference(Landroid/preference/Preference;)Z
|
|
|
|
.line 223
|
|
invoke-virtual {v0, v2}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;->removePreference(Landroid/preference/Preference;)Z
|
|
|
|
.line 224
|
|
invoke-virtual {v0, v3}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;->removePreference(Landroid/preference/Preference;)Z
|
|
|
|
:goto_0
|
|
const-string v0, "5029"
|
|
|
|
.line 227
|
|
sget-object v2, Lcom/moji/mjweather/MJApplication;->mPKGChannel:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 228
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->c:Landroid/widget/TextView;
|
|
|
|
invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
.line 230
|
|
:cond_1
|
|
new-instance v0, Lcom/moji/preferences/ProcessPrefer;
|
|
|
|
invoke-direct {v0}, Lcom/moji/preferences/ProcessPrefer;-><init>()V
|
|
|
|
invoke-virtual {v0}, Lcom/moji/preferences/ProcessPrefer;->C()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 232
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceCategory;->removePreference(Landroid/preference/Preference;)Z
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method protected f()V
|
|
.locals 2
|
|
|
|
.line 174
|
|
invoke-super {p0}, Lcom/moji/mvpframe/MJPreferenceFragment;->f()V
|
|
|
|
.line 175
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->createView()Landroid/view/View;
|
|
|
|
const-string v0, "pref_key_help_feed_back"
|
|
|
|
.line 176
|
|
invoke-virtual {p0, v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
iput-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->i:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
.line 177
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/badge/BadgeEvent$TYPE;->MESSAGE_FEED_BACK:Lcom/moji/badge/BadgeEvent$TYPE;
|
|
|
|
invoke-static {v0, v1}, Lcom/moji/badge/BadgeUtil;->b(Landroid/content/Context;Lcom/moji/badge/BadgeEvent$TYPE;)I
|
|
|
|
move-result v0
|
|
|
|
const v1, -0xfffe
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
if-lez v0, :cond_1
|
|
|
|
.line 179
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->i:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->a(Z)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public onClick(Landroid/view/View;)V
|
|
.locals 2
|
|
|
|
const-wide/16 v0, 0x1f4
|
|
|
|
.line 393
|
|
invoke-direct {p0, v0, v1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 396
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/view/View;->getId()I
|
|
|
|
move-result p1
|
|
|
|
const v0, 0x7f090b84
|
|
|
|
if-eq p1, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 398
|
|
:cond_1
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_VOICE_CLOCK_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 399
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/setting/activity/SettingVoiceAlarmActivity;
|
|
|
|
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
.line 400
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreate(Landroid/os/Bundle;)V
|
|
.locals 2
|
|
|
|
.line 151
|
|
invoke-super {p0, p1}, Lcom/moji/mvpframe/MJPreferenceFragment;->onCreate(Landroid/os/Bundle;)V
|
|
|
|
.line 152
|
|
invoke-static {}, Lcom/moji/preferences/units/SettingCenter;->a()Lcom/moji/preferences/units/SettingCenter;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/moji/preferences/units/SettingCenter;->b()Lcom/moji/preferences/units/ELanguage;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/preferences/units/ELanguage;->CN:Lcom/moji/preferences/units/ELanguage;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
iput-boolean p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->k:Z
|
|
|
|
.line 153
|
|
iget-boolean p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->k:Z
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 154
|
|
invoke-direct {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e()V
|
|
|
|
.line 156
|
|
:cond_1
|
|
new-instance p1, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0, v1}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;-><init>(Landroid/content/Context;I)V
|
|
|
|
iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
.line 157
|
|
iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
new-instance v0, Lcom/moji/mjweather/setting/fragment/SettingFragment$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment$1;-><init>(Lcom/moji/mjweather/setting/fragment/SettingFragment;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->a(Lcom/moji/mjweather/me/control/MeClearCacheViewControl$OnClearFinish;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDestroyView()V
|
|
.locals 1
|
|
|
|
.line 168
|
|
invoke-super {p0}, Lcom/moji/mvpframe/MJPreferenceFragment;->onDestroyView()V
|
|
|
|
.line 169
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->onDestroy()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onPreferenceClick(Landroid/preference/Preference;)Z
|
|
.locals 4
|
|
|
|
.line 249
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->b:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1}, Landroid/preference/Preference;->getKey()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 250
|
|
invoke-virtual {p1}, Landroid/preference/Preference;->getKey()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x5
|
|
|
|
const/4 v3, 0x0
|
|
|
|
sparse-switch v1, :sswitch_data_0
|
|
|
|
goto/16 :goto_0
|
|
|
|
:sswitch_0
|
|
const-string v1, "pref_key_setting_item_personality_assist"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x6
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_1
|
|
const-string v1, "pref_key_clean_cache"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xe
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_2
|
|
const-string v1, "pref_key_help_feed_back"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_3
|
|
const-string v1, "pref_key_user_help"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xf
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_4
|
|
const-string v1, "pref_key_about_moji"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xd
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_5
|
|
const-string v1, "pref_key_setting_personality_widget"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x5
|
|
|
|
goto/16 :goto_1
|
|
|
|
:sswitch_6
|
|
const-string v1, "pref_key_setting_weather_background"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xc
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_7
|
|
const-string v1, "pref_key_setting_item_units"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xa
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_8
|
|
const-string v1, "pref_key_about_moji_team"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x2
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_9
|
|
const-string v1, "pref_key_product_feed_back"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_a
|
|
const-string v1, "pref_key_setting_item_launcher_widget"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0x8
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_b
|
|
const-string v1, "pref_key_setting_item_account_manage"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x3
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_c
|
|
const-string v1, "pref_key_setting_item_language"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0x9
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_d
|
|
const-string v1, "pref_key_setting_item_foot_print"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x7
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_e
|
|
const-string v1, "pref_key_setting_item_message"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x4
|
|
|
|
goto :goto_1
|
|
|
|
:sswitch_f
|
|
const-string v1, "pref_key_setting_weather_auto_update"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/16 v0, 0xb
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
const/4 v0, -0x1
|
|
|
|
:goto_1
|
|
const/16 v1, 0x16
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 334
|
|
:pswitch_0
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/webview/BrowserActivity;
|
|
|
|
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
const-string v0, "title"
|
|
|
|
const v1, 0x7f0e0686
|
|
|
|
.line 335
|
|
invoke-static {v1}, Lcom/moji/forum/common/ResUtil;->b(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
const-string v0, "target_url"
|
|
|
|
.line 336
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "http://moji.com/waphelp/index_new.php?Version="
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-static {}, Lcom/moji/tool/DeviceTool;->F()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "&appshare=0"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
.line 337
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 330
|
|
:pswitch_1
|
|
iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->getView()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->onClick(Landroid/view/View;)V
|
|
|
|
.line 331
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->ME_CLEAN_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 324
|
|
:pswitch_2
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_ABOUTMOJI_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 325
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-direct {p1}, Landroid/content/Intent;-><init>()V
|
|
|
|
.line 326
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/me/activity/MojiAboutActivity;
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
|
|
|
|
.line 327
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 320
|
|
:pswitch_3
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 317
|
|
:pswitch_4
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 313
|
|
:pswitch_5
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_UNIT:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 314
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/setting/fragment/SettingCommonUnitsActivity;
|
|
|
|
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 309
|
|
:pswitch_6
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_LANGUAGE:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 310
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/setting/fragment/SettingCommonLanguageActivity;
|
|
|
|
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 306
|
|
:pswitch_7
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 301
|
|
:pswitch_8
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SET_FOOTPRINT_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 302
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 297
|
|
:pswitch_9
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SET_ASSISTANT_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 298
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 294
|
|
:pswitch_a
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 290
|
|
:pswitch_b
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SET_PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 291
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 279
|
|
:pswitch_c
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SET_ACCOUNT_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 280
|
|
invoke-static {}, Lcom/moji/account/data/AccountProvider;->a()Lcom/moji/account/data/AccountProvider;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/moji/account/data/AccountProvider;->f()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 281
|
|
invoke-direct {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->a(Landroid/preference/Preference;)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 283
|
|
:cond_1
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v2}, Lcom/moji/mjweather/NavigationManager;->a(Landroid/content/Context;I)V
|
|
|
|
.line 284
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 285
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
const v0, 0x7f010031
|
|
|
|
const v1, 0x7f010024
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/app/Activity;->overridePendingTransition(II)V
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 272
|
|
:pswitch_d
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_TP_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 273
|
|
invoke-static {}, Lcom/moji/redpoint/RedPointManager;->a()Lcom/moji/redpoint/RedPointManager;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Lcom/moji/redpoint/RedPointManager;->a(I)V
|
|
|
|
.line 274
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-direct {p1}, Landroid/content/Intent;-><init>()V
|
|
|
|
.line 275
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/me/activity/MojiTeamIntroduceActivity;
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
|
|
|
|
.line 276
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 261
|
|
:pswitch_e
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_PFZ_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 262
|
|
invoke-static {}, Lcom/moji/redpoint/RedPointManager;->a()Lcom/moji/redpoint/RedPointManager;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Lcom/moji/redpoint/RedPointManager;->a(I)V
|
|
|
|
.line 264
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/forum/ui/TopicListActivity;
|
|
|
|
invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
const-string v0, "coterie_id"
|
|
|
|
const-string v1, "17"
|
|
|
|
.line 265
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
const-string v0, "coterie_name"
|
|
|
|
const-string v1, "\u4ea7\u54c1\u8ba8\u8bba"
|
|
|
|
.line 266
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
const-string v0, "coterie_color"
|
|
|
|
const-string v1, "ff8e5b"
|
|
|
|
.line 267
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
.line 268
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 253
|
|
:pswitch_f
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->SET_FEEDBACK_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 254
|
|
invoke-static {}, Lcom/moji/redpoint/RedPointManager;->a()Lcom/moji/redpoint/RedPointManager;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v1}, Lcom/moji/redpoint/RedPointManager;->a(I)V
|
|
|
|
.line 255
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
invoke-direct {p1}, Landroid/content/Intent;-><init>()V
|
|
|
|
.line 256
|
|
invoke-virtual {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lcom/moji/mjweather/setting/activity/FeedBackActivity;
|
|
|
|
invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
|
|
|
|
.line 257
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->startActivity(Landroid/content/Intent;)V
|
|
|
|
:cond_2
|
|
:goto_2
|
|
return v3
|
|
|
|
nop
|
|
|
|
:sswitch_data_0
|
|
.sparse-switch
|
|
-0x7d17cedd -> :sswitch_f
|
|
-0x303b771a -> :sswitch_e
|
|
-0x28e091a3 -> :sswitch_d
|
|
-0x1bd5d9a7 -> :sswitch_c
|
|
-0x76fbe08 -> :sswitch_b
|
|
0x443ada2 -> :sswitch_a
|
|
0x98af89c -> :sswitch_9
|
|
0xd5cfd4d -> :sswitch_8
|
|
0x11b88c0e -> :sswitch_7
|
|
0x11efe824 -> :sswitch_6
|
|
0x2bb2cb00 -> :sswitch_5
|
|
0x498d374f -> :sswitch_4
|
|
0x5e292c39 -> :sswitch_3
|
|
0x68b530e6 -> :sswitch_2
|
|
0x7684e610 -> :sswitch_1
|
|
0x7cd0431b -> :sswitch_0
|
|
.end sparse-switch
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_f
|
|
:pswitch_e
|
|
:pswitch_d
|
|
:pswitch_c
|
|
:pswitch_b
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 5
|
|
|
|
.line 103
|
|
invoke-super {p0}, Lcom/moji/mvpframe/MJPreferenceFragment;->onResume()V
|
|
|
|
.line 104
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->h:Lcom/moji/mjweather/me/control/MeClearCacheViewControl;
|
|
|
|
invoke-virtual {v0}, Lcom/moji/mjweather/me/control/MeClearCacheViewControl;->onResume()V
|
|
|
|
.line 105
|
|
new-instance v0, Lcom/moji/preferences/DefaultPrefer;
|
|
|
|
invoke-direct {v0}, Lcom/moji/preferences/DefaultPrefer;-><init>()V
|
|
|
|
.line 106
|
|
new-instance v1, Lcom/moji/tool/preferences/MessagePushKey;
|
|
|
|
invoke-direct {v1}, Lcom/moji/tool/preferences/MessagePushKey;-><init>()V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/moji/preferences/DefaultPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v1
|
|
|
|
.line 107
|
|
new-instance v3, Lcom/moji/mjweather/setting/SettingAssistKey;
|
|
|
|
invoke-direct {v3}, Lcom/moji/mjweather/setting/SettingAssistKey;-><init>()V
|
|
|
|
invoke-virtual {v0, v3, v2}, Lcom/moji/preferences/DefaultPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v3
|
|
|
|
.line 108
|
|
new-instance v4, Lcom/moji/mjweather/setting/SettingFootPrintKey;
|
|
|
|
invoke-direct {v4}, Lcom/moji/mjweather/setting/SettingFootPrintKey;-><init>()V
|
|
|
|
invoke-virtual {v0, v4, v2}, Lcom/moji/preferences/DefaultPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Z)Z
|
|
|
|
move-result v0
|
|
|
|
.line 110
|
|
iget-object v2, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 112
|
|
iget-object v1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const-string v2, ""
|
|
|
|
invoke-virtual {v1, v2}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 114
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->d:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
const v2, 0x7f0e07e0
|
|
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const v1, 0x7f0e07d6
|
|
|
|
const v2, 0x7f0e07d7
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 119
|
|
iget-object v3, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 121
|
|
:cond_2
|
|
iget-object v3, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->e:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {p0, v1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v4}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
:goto_1
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 124
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->f:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {p0, v2}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
goto :goto_2
|
|
|
|
.line 126
|
|
:cond_3
|
|
iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment;->f:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;
|
|
|
|
invoke-virtual {p0, v1}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithLeftIcon;->setSummary(Ljava/lang/CharSequence;)V
|
|
|
|
.line 128
|
|
:goto_2
|
|
invoke-direct {p0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->c()V
|
|
|
|
return-void
|
|
.end method
|