.class Lcom/viatech/update/UpdateManager$6; .super Ljava/lang/Object; .source "UpdateManager.java" # interfaces .implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/update/UpdateManager;->sendFirmeareLength()I .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 (Lcom/viatech/update/UpdateManager;)V .locals 0 .prologue .line 530 iput-object p1, p0, Lcom/viatech/update/UpdateManager$6;->this$0:Lcom/viatech/update/UpdateManager; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onMessageResult(Ljava/lang/String;)V .locals 3 .prologue const/16 v2, 0x3e9 .line 533 invoke-static {p1}, Lcom/viatech/device/DeviceMessage;->parse(Ljava/lang/String;)Lcom/viatech/device/DeviceMessage$DeviceMessageResult; move-result-object v0 .line 534 if-eqz v0, :cond_1 iget v0, v0, Lcom/viatech/device/DeviceMessage$DeviceMessageResult;->ret:I if-nez v0, :cond_1 .line 535 const-string v0, "Vpai_Upgrade" const-string v1, "onUpgradeDeviceReady()" invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 536 iget-object v0, p0, Lcom/viatech/update/UpdateManager$6;->this$0:Lcom/viatech/update/UpdateManager; invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$1800(Lcom/viatech/update/UpdateManager;)Landroid/os/Handler; move-result-object v0 if-eqz v0, :cond_0 .line 537 iget-object v0, p0, Lcom/viatech/update/UpdateManager$6;->this$0:Lcom/viatech/update/UpdateManager; invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$1800(Lcom/viatech/update/UpdateManager;)Landroid/os/Handler; move-result-object v0 invoke-virtual {v0, v2}, Landroid/os/Handler;->removeMessages(I)V .line 538 iget-object v0, p0, Lcom/viatech/update/UpdateManager$6;->this$0:Lcom/viatech/update/UpdateManager; invoke-static {v0}, Lcom/viatech/update/UpdateManager;->access$1800(Lcom/viatech/update/UpdateManager;)Landroid/os/Handler; move-result-object v0 invoke-virtual {v0, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z .line 544 :cond_0 :goto_0 return-void .line 541 :cond_1 iget-object v0, p0, Lcom/viatech/update/UpdateManager$6;->this$0:Lcom/viatech/update/UpdateManager; invoke-virtual {v0}, Lcom/viatech/update/UpdateManager;->destory()V goto :goto_0 .end method