.class Lcom/moji/mjweather/assshop/control/state/DeletableState$1;
.super Ljava/lang/Thread;
.source "DeletableState.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/assshop/control/state/DeletableState;->handleButtonClick(Lcom/moji/mjweather/assshop/task/AvatarDownloadTask$OnDownLoadListener;)V
.end annotation

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


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/moji/mjad/avatar/data/AvatarInfo;

.field final synthetic c:Lcom/moji/mjweather/assshop/control/state/DeletableState;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/assshop/control/state/DeletableState;Ljava/lang/String;Lcom/moji/mjad/avatar/data/AvatarInfo;)V
    .locals 0

    .line 61
    iput-object p1, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->c:Lcom/moji/mjweather/assshop/control/state/DeletableState;

    iput-object p2, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->a:Ljava/lang/String;

    iput-object p3, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->b:Lcom/moji/mjad/avatar/data/AvatarInfo;

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

    return-void
.end method


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

    .line 64
    iget-object v0, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->c:Lcom/moji/mjweather/assshop/control/state/DeletableState;

    iget-object v1, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->a:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/moji/mjweather/assshop/control/state/DeletableState;->access$000(Lcom/moji/mjweather/assshop/control/state/DeletableState;Ljava/lang/String;)Z

    move-result v0

    .line 65
    iget-object v1, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->c:Lcom/moji/mjweather/assshop/control/state/DeletableState;

    iget-object v2, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->b:Lcom/moji/mjad/avatar/data/AvatarInfo;

    iget v2, v2, Lcom/moji/mjad/avatar/data/AvatarInfo;->voiceId:I

    iget-object v3, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->b:Lcom/moji/mjad/avatar/data/AvatarInfo;

    iget v3, v3, Lcom/moji/mjad/avatar/data/AvatarInfo;->id:I

    invoke-static {v1, v2, v3}, Lcom/moji/mjweather/assshop/control/state/DeletableState;->access$100(Lcom/moji/mjweather/assshop/control/state/DeletableState;II)Z

    if-eqz v0, :cond_0

    .line 67
    new-instance v0, Lcom/moji/mjweather/assshop/db/AvatarDBManager;

    invoke-direct {v0}, Lcom/moji/mjweather/assshop/db/AvatarDBManager;-><init>()V

    .line 68
    iget-object v1, p0, Lcom/moji/mjweather/assshop/control/state/DeletableState$1;->b:Lcom/moji/mjad/avatar/data/AvatarInfo;

    iget v1, v1, Lcom/moji/mjad/avatar/data/AvatarInfo;->id:I

    invoke-virtual {v0, v1}, Lcom/moji/mjweather/assshop/db/AvatarDBManager;->a(I)V

    .line 70
    :cond_0
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    return-void
.end method
