今奥全景相机
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.

158 lines
4.4 KiB

.class Lcom/viatech/camera/SettingActivity$7;
.super Ljava/lang/Object;
.source "SettingActivity.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/SettingActivity;->initView()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/camera/SettingActivity;
# direct methods
.method constructor <init>(Lcom/viatech/camera/SettingActivity;)V
.locals 0
.prologue
.line 449
iput-object p1, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 5
.prologue
const/16 v1, 0x68
const/4 v4, 0x0
.line 452
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
iget-object v0, v0, Lcom/viatech/camera/SettingActivity;->mHandler:Landroid/os/Handler;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V
.line 453
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
iget-object v0, v0, Lcom/viatech/camera/SettingActivity;->mHandler:Landroid/os/Handler;
const-wide/16 v2, 0x3e8
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
.line 454
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$208(Lcom/viatech/camera/SettingActivity;)I
.line 455
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$200(Lcom/viatech/camera/SettingActivity;)I
move-result v0
const/4 v1, 0x5
if-lt v0, v1, :cond_1
.line 456
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0, v4}, Lcom/viatech/camera/SettingActivity;->access$202(Lcom/viatech/camera/SettingActivity;I)I
.line 457
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$1200(Lcom/viatech/camera/SettingActivity;)Z
move-result v0
if-nez v0, :cond_0
.line 458
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$1300(Lcom/viatech/camera/SettingActivity;)V
.line 490
:cond_0
:goto_0
return-void
.line 460
:cond_1
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0}, Lcom/viatech/camera/SettingActivity;->access$200(Lcom/viatech/camera/SettingActivity;)I
move-result v0
const/4 v1, 0x1
if-lt v0, v1, :cond_0
.line 461
iget-object v0, p0, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
invoke-static {v0, v4}, Lcom/viatech/camera/SettingActivity;->access$1202(Lcom/viatech/camera/SettingActivity;Z)Z
.line 462
new-instance v0, Lcom/viatech/camera/SettingActivity$7$1;
invoke-direct {v0, p0}, Lcom/viatech/camera/SettingActivity$7$1;-><init>(Lcom/viatech/camera/SettingActivity$7;)V
.line 481
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
.line 483
:try_start_0
const-string v1, "action"
const-string v2, "devicereg"
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
.line 484
const-string v1, "query"
const-string v2, "status"
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
.line 486
:catch_0
move-exception v0
.line 487
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
goto :goto_0
.end method