.class Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;
.super Ljava/lang/Object;
.source "SceneSwitchHelper.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;->b(Lcom/moji/mjweather/scenestore/model/BgStoreModel;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

.field final synthetic b:Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;Lcom/moji/mjweather/scenestore/model/BgStoreModel;)V
    .locals 0

    .line 157
    iput-object p1, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->b:Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;

    iput-object p2, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

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

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .line 160
    iget-object v0, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->b:Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;

    iget-object v1, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

    iget-object v1, v1, Lcom/moji/mjweather/scenestore/model/BgStoreModel;->mChildListbean:Lcom/moji/http/scenestore/SceneList$List$ChildList;

    iget-object v1, v1, Lcom/moji/http/scenestore/SceneList$List$ChildList;->themeId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;->a(Ljava/lang/String;)V

    .line 161
    new-instance v0, Lcom/moji/preferences/ProcessPrefer;

    invoke-direct {v0}, Lcom/moji/preferences/ProcessPrefer;-><init>()V

    invoke-virtual {v0}, Lcom/moji/preferences/ProcessPrefer;->g()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

    iget-object v0, v0, Lcom/moji/mjweather/scenestore/model/BgStoreModel;->mChildListbean:Lcom/moji/http/scenestore/SceneList$List$ChildList;

    iget v0, v0, Lcom/moji/http/scenestore/SceneList$List$ChildList;->classType:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

    iget-object v0, v0, Lcom/moji/mjweather/scenestore/model/BgStoreModel;->mChildListbean:Lcom/moji/http/scenestore/SceneList$List$ChildList;

    iget v0, v0, Lcom/moji/http/scenestore/SceneList$List$ChildList;->lableType:I

    if-ne v0, v1, :cond_0

    .line 164
    new-instance v0, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    iget-object v1, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->b:Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;

    invoke-static {v1}, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;->a(Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;-><init>(Landroid/content/Context;)V

    iget-object v1, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->b:Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;

    iget-object v2, p0, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;->a:Lcom/moji/mjweather/scenestore/model/BgStoreModel;

    .line 165
    invoke-static {v1, v2}, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;->b(Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper;Lcom/moji/mjweather/scenestore/model/BgStoreModel;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Ljava/lang/CharSequence;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const-string v1, "\u7acb\u5373\u5f00\u901a"

    .line 166
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->c(Ljava/lang/CharSequence;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2$2;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2$2;-><init>(Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;)V

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    const v1, 0x7f0e0145

    .line 173
    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->e(I)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    new-instance v1, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2$1;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2$1;-><init>(Lcom/moji/mjweather/scenestore/model/SceneSwitchHelper$2;)V

    invoke-virtual {v0, v1}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->b(Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;)Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;

    move-result-object v0

    .line 180
    invoke-virtual {v0}, Lcom/moji/dialog/control/MJDialogDefaultControl$Builder;->a()Lcom/moji/dialog/MJDialog;

    move-result-object v0

    .line 182
    invoke-virtual {v0}, Lcom/moji/dialog/MJDialog;->show()V

    :cond_0
    return-void
.end method
