.class Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;
.super Landroid/os/Handler;
.source "DownloadManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;->run()V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;)V
    .locals 0

    .line 304
    iput-object p1, p0, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;->a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;

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

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

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

    const-string v0, "MJDownLoadManager.DownloadThread"

    .line 309
    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "msg = "

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

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

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

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

    move-result-object v1

    invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 311
    iget p1, p1, Landroid/os/Message;->what:I

    packed-switch p1, :pswitch_data_0

    goto :goto_0

    .line 321
    :pswitch_0
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p1

    invoke-virtual {p1}, Landroid/os/Looper;->quit()V

    goto :goto_0

    .line 317
    :pswitch_1
    iget-object p1, p0, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;->a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;

    iget-object v0, p0, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;->a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;

    invoke-static {v0}, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;->a(Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;)Z

    move-result v0

    invoke-static {p1, v0}, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;->b(Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;Z)V

    goto :goto_0

    .line 313
    :pswitch_2
    iget-object p1, p0, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;->a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;

    iget-object v0, p0, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread$1;->a:Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;

    invoke-static {v0}, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;->a(Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;)Z

    move-result v0

    invoke-static {p1, v0}, Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;->a(Lcom/moji/mjweather/voice/DownloadManager$DownloadThread;Z)V

    :goto_0
    return-void

    nop

    :pswitch_data_0
    .packed-switch 0xa
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
