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

152 lines
3.4 KiB

.class Lcom/viatech/camera/SettingActivity$7$1;
.super Ljava/lang/Object;
.source "SettingActivity.java"
# interfaces
.implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/SettingActivity$7;->onClick(Landroid/view/View;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lcom/viatech/camera/SettingActivity$7;
# direct methods
.method constructor <init>(Lcom/viatech/camera/SettingActivity$7;)V
.locals 0
.prologue
.line 462
iput-object p1, p0, Lcom/viatech/camera/SettingActivity$7$1;->this$1:Lcom/viatech/camera/SettingActivity$7;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onMessageResult(Ljava/lang/String;)V
.locals 7
.prologue
const/4 v2, 0x1
const/4 v1, 0x0
const/4 v0, -0x1
.line 467
:try_start_0
new-instance v4, Lorg/json/JSONObject;
invoke-direct {v4, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
.line 468
const-string v3, "VPAI_SettingActivity"
new-instance v5, Ljava/lang/StringBuilder;
invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
const-string v6, "<<< getTestResult of Authorization, JSON info="
invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v5
invoke-virtual {v5, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v5
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v5
invoke-static {v3, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 469
const-string v3, "devicereg"
const-string v5, "action"
invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_2
.line 470
const-string v3, "ret"
const/4 v5, -0x1
invoke-virtual {v4, v3, v5}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v3
.line 471
if-nez v3, :cond_3
.line 472
const-string v3, "result"
const/4 v5, -0x1
invoke-virtual {v4, v3, v5}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I
move-result v3
if-ne v3, v2, :cond_0
move v0, v1
.line 474
:cond_0
:goto_0
iget-object v3, p0, Lcom/viatech/camera/SettingActivity$7$1;->this$1:Lcom/viatech/camera/SettingActivity$7;
iget-object v3, v3, Lcom/viatech/camera/SettingActivity$7;->this$0:Lcom/viatech/camera/SettingActivity;
if-nez v0, :cond_1
move v1, v2
:cond_1
invoke-static {v3, v1}, Lcom/viatech/camera/SettingActivity;->access$1202(Lcom/viatech/camera/SettingActivity;Z)Z
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
.line 479
:cond_2
:goto_1
return-void
.line 476
:catch_0
move-exception v0
.line 477
invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V
goto :goto_1
:cond_3
move v0, v3
goto :goto_0
.end method