.class Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;
.super Ljava/lang/Object;
.source "SettingLauncherPluginSKinFragment.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;->onPreferenceClick(Landroid/preference/Preference;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;)V
    .locals 0

    .line 155
    iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;->a:Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2

    .line 158
    iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;->a:Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;

    invoke-static {p1}, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;->a(Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;)Lcom/moji/skinshop/preference/SkinShopPref;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/moji/skinshop/preference/SkinShopPref;->c(I)V

    .line 159
    iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;->a:Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;

    iget-object p1, p1, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;->b:Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;

    iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;->a:Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;

    invoke-virtual {v0}, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment;->getActivity()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f030003

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    aget-object p2, v0, p2

    invoke-virtual {p1, p2}, Lcom/moji/mjweather/settingpreference/pref/MJPreferenceWithValue;->a(Ljava/lang/CharSequence;)V

    .line 160
    new-instance p1, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3$1;

    invoke-direct {p1, p0}, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3$1;-><init>(Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3;)V

    .line 165
    invoke-virtual {p1}, Lcom/moji/mjweather/setting/fragment/SettingLauncherPluginSKinFragment$3$1;->start()V

    return-void
.end method
