You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
3.8 KiB
154 lines
3.8 KiB
2 years ago
|
.class Lcom/viatech/update/UpdateManager$1;
|
||
|
.super Landroid/os/Handler;
|
||
|
.source "UpdateManager.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/viatech/update/UpdateManager;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/viatech/update/UpdateManager;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 84
|
||
|
iput-object p1, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public handleMessage(Landroid/os/Message;)V
|
||
|
.locals 4
|
||
|
|
||
|
.prologue
|
||
|
.line 87
|
||
|
iget v0, p1, Landroid/os/Message;->what:I
|
||
|
|
||
|
packed-switch v0, :pswitch_data_0
|
||
|
|
||
|
.line 110
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
return-void
|
||
|
|
||
|
.line 89
|
||
|
:pswitch_0
|
||
|
iget-object v0, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$000(Lcom/viatech/update/UpdateManager;)Landroid/os/Handler;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0xb
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V
|
||
|
|
||
|
.line 90
|
||
|
iget-object v0, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$100(Lcom/viatech/update/UpdateManager;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 94
|
||
|
:pswitch_1
|
||
|
iget-object v0, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$000(Lcom/viatech/update/UpdateManager;)Landroid/os/Handler;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/16 v1, 0xa
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V
|
||
|
|
||
|
.line 95
|
||
|
iget-object v0, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-static {v0, p1}, Lcom/viatech/update/UpdateManager;->access$200(Lcom/viatech/update/UpdateManager;Landroid/os/Message;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 96
|
||
|
const-string v1, "Vpai_Upgrade"
|
||
|
|
||
|
new-instance v2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v3, "## MSG_SHOW_DOWNLOAD_DIALOG, ret = "
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
.line 97
|
||
|
const/4 v1, -0x3
|
||
|
|
||
|
if-eq v0, v1, :cond_1
|
||
|
|
||
|
const/4 v1, -0x2
|
||
|
|
||
|
if-ne v0, v1, :cond_2
|
||
|
|
||
|
.line 98
|
||
|
:cond_1
|
||
|
new-instance v0, Landroid/os/Message;
|
||
|
|
||
|
invoke-direct {v0}, Landroid/os/Message;-><init>()V
|
||
|
|
||
|
.line 99
|
||
|
invoke-virtual {v0, p1}, Landroid/os/Message;->copyFrom(Landroid/os/Message;)V
|
||
|
|
||
|
.line 100
|
||
|
const-wide/16 v2, 0x7d0
|
||
|
|
||
|
invoke-virtual {p0, v0, v2, v3}, Lcom/viatech/update/UpdateManager$1;->sendMessageDelayed(Landroid/os/Message;J)Z
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 102
|
||
|
:cond_2
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 103
|
||
|
iget-object v0, p0, Lcom/viatech/update/UpdateManager$1;->this$0:Lcom/viatech/update/UpdateManager;
|
||
|
|
||
|
invoke-virtual {v0}, Lcom/viatech/update/UpdateManager;->destory()V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 87
|
||
|
:pswitch_data_0
|
||
|
.packed-switch 0xa
|
||
|
:pswitch_1
|
||
|
:pswitch_0
|
||
|
.end packed-switch
|
||
|
.end method
|