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.
172 lines
5.7 KiB
172 lines
5.7 KiB
.class Lcom/viatech/util/OnlineUpgradeManager$14; |
|
.super Ljava/lang/Object; |
|
.source "OnlineUpgradeManager.java" |
|
|
|
# interfaces |
|
.implements Ljava/lang/Runnable; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/util/OnlineUpgradeManager;->upgradeAPK(Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
.field final synthetic val$info:Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/util/OnlineUpgradeManager;Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 389 |
|
iput-object p1, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
iput-object p2, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->val$info:Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public run()V |
|
.locals 4 |
|
|
|
.prologue |
|
.line 393 |
|
iget-object v0, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
invoke-static {v0}, Lcom/viatech/util/OnlineUpgradeManager;->access$1000(Lcom/viatech/util/OnlineUpgradeManager;)Lcom/viatech/widget/VPaiDialog$Builder; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
iget-object v2, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
invoke-static {v2}, Lcom/viatech/util/OnlineUpgradeManager;->access$100(Lcom/viatech/util/OnlineUpgradeManager;)Landroid/content/Context; |
|
|
|
move-result-object v2 |
|
|
|
const v3, 0x7f0701b6 |
|
|
|
invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
const-string v2, "\n\n" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->val$info:Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo; |
|
|
|
iget-object v2, v2, Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo;->versionName:Ljava/lang/String; |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
.line 394 |
|
invoke-static {v2}, Lcom/viatech/util/OnlineUpgradeManager;->access$100(Lcom/viatech/util/OnlineUpgradeManager;)Landroid/content/Context; |
|
|
|
move-result-object v2 |
|
|
|
const v3, 0x7f070120 |
|
|
|
invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
const-string v2, "\n" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->val$info:Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo; |
|
|
|
iget-object v2, v2, Lcom/viatech/util/OnlineUpgradeManager$UpgradeInfo;->log:Ljava/lang/String; |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
const-string v2, "\n" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
.line 393 |
|
invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
|
|
|
.line 397 |
|
iget-object v0, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
invoke-static {v0}, Lcom/viatech/util/OnlineUpgradeManager;->access$1100(Lcom/viatech/util/OnlineUpgradeManager;)Landroid/app/Dialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 398 |
|
iget-object v0, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
iget-object v1, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
invoke-static {v1}, Lcom/viatech/util/OnlineUpgradeManager;->access$1000(Lcom/viatech/util/OnlineUpgradeManager;)Lcom/viatech/widget/VPaiDialog$Builder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Lcom/viatech/widget/VPaiDialog$Builder;->create()Landroid/app/AlertDialog; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/util/OnlineUpgradeManager;->access$1102(Lcom/viatech/util/OnlineUpgradeManager;Landroid/app/Dialog;)Landroid/app/Dialog; |
|
|
|
.line 399 |
|
iget-object v0, p0, Lcom/viatech/util/OnlineUpgradeManager$14;->this$0:Lcom/viatech/util/OnlineUpgradeManager; |
|
|
|
invoke-static {v0}, Lcom/viatech/util/OnlineUpgradeManager;->access$1100(Lcom/viatech/util/OnlineUpgradeManager;)Landroid/app/Dialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/Dialog;->show()V |
|
|
|
.line 401 |
|
:cond_0 |
|
return-void |
|
.end method
|
|
|