SmartHomeGuideFragment$1.smali

.class Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;
.super Landroid/os/Handler;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;


# direct methods
.method constructor <init>(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)V
    .registers 2

    iput-object p1, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .registers 5

    const/4 v2, 0x1

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_38

    :goto_9
    return-void

    :pswitch_a
    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->mPackageName:Ljava/lang/String;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->access$000(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/commons/utils/AppUtil;->isAPPInstalled(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_32

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;

    # setter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->mIsAPPInstalled:Z
    invoke-static {v0, v2}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->access$102(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;Z)Z

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->mStep:I
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->access$200(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)I

    move-result v0

    if-nez v0, :cond_2e

    iget-object v0, p0, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->this$0:Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;

    # getter for: Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->mNextTv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;->access$300(Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment;)Landroid/widget/TextView;

    move-result-object v0

    sget v1, Lcom/cmcm/xiaobao/phone/smarthome/R$string;->orion_sdk_smarthome_have_downloaded:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :cond_2e
    invoke-virtual {p0, v2}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->removeMessages(I)V

    goto :goto_9

    :cond_32
    const-wide/16 v0, 0x1f4

    invoke-virtual {p0, v2, v0, v1}, Lcom/cmcm/xiaobao/phone/smarthome/SmartHomeGuideFragment$1;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_9

    :pswitch_data_38
    .packed-switch 0x1
        :pswitch_a
    .end packed-switch
.end method