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

# interfaces
.implements Lcom/moji/mjweather/setting/task/callback/MemoryCallBack;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/setting/fragment/SettingFragment;->e()V
.end annotation

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


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


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

    .line 237
    iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment$2;->a:Lcom/moji/mjweather/setting/fragment/SettingFragment;

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

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)V
    .locals 3

    .line 240
    iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment$2;->a:Lcom/moji/mjweather/setting/fragment/SettingFragment;

    invoke-static {v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->b(Lcom/moji/mjweather/setting/fragment/SettingFragment;)Landroid/preference/Preference;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 241
    iget-object v0, p0, Lcom/moji/mjweather/setting/fragment/SettingFragment$2;->a:Lcom/moji/mjweather/setting/fragment/SettingFragment;

    invoke-static {v0}, Lcom/moji/mjweather/setting/fragment/SettingFragment;->b(Lcom/moji/mjweather/setting/fragment/SettingFragment;)Landroid/preference/Preference;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

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

    const v2, 0x7f0e067a

    invoke-static {v2}, Lcom/moji/tool/Utils;->c(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method
