.class Lcom/viatech/VPaiMainView$2; .super Ljava/lang/Object; .source "VPaiMainView.java" # interfaces .implements Landroid/content/DialogInterface$OnClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/VPaiMainView;->onBackPressed()Z .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Lcom/viatech/VPaiMainView; # direct methods .method constructor (Lcom/viatech/VPaiMainView;)V .locals 0 .prologue .line 225 iput-object p1, p0, Lcom/viatech/VPaiMainView$2;->a:Lcom/viatech/VPaiMainView; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public onClick(Landroid/content/DialogInterface;I)V .locals 2 .prologue .line 228 invoke-static {}, Lcom/viatech/camera/CameraControlView;->getDevice()Lcom/viatech/device/VPaiDevice; move-result-object v0 .line 229 if-eqz v0, :cond_0 invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isVTPDevice()Z move-result v1 if-eqz v1, :cond_0 .line 230 new-instance v1, Lcom/viatech/VPaiMainView$2$1; invoke-direct {v1, p0}, Lcom/viatech/VPaiMainView$2$1;->(Lcom/viatech/VPaiMainView$2;)V invoke-virtual {v0, v1}, Lcom/viatech/device/VPaiDevice;->setVtpSuspend(Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;)V .line 242 :cond_0 invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V .line 243 iget-object v0, p0, Lcom/viatech/VPaiMainView$2;->a:Lcom/viatech/VPaiMainView; invoke-virtual {v0}, Lcom/viatech/VPaiMainView;->onActivityDestroy()V .line 244 iget-object v0, p0, Lcom/viatech/VPaiMainView$2;->a:Lcom/viatech/VPaiMainView; invoke-static {v0}, Lcom/viatech/VPaiMainView;->d(Lcom/viatech/VPaiMainView;)Landroid/app/Activity; move-result-object v0 invoke-virtual {v0}, Landroid/app/Activity;->finish()V .line 245 invoke-static {}, Lcom/a/a;->a()V .line 246 invoke-static {}, Landroid/os/Process;->myPid()I move-result v0 invoke-static {v0}, Landroid/os/Process;->killProcess(I)V .line 247 const/4 v0, 0x0 invoke-static {v0}, Ljava/lang/System;->exit(I)V .line 248 return-void .end method