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

.class Lcom/viatech/camera/CameraControlView$46$1;
.super Ljava/lang/Object;
.source "CameraControlView.java"
# interfaces
.implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CameraControlView$46;->onStopLiveResult(Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lcom/viatech/camera/CameraControlView$46;
# direct methods
.method constructor <init>(Lcom/viatech/camera/CameraControlView$46;)V
.locals 0
.prologue
.line 3895
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$46$1;->this$1:Lcom/viatech/camera/CameraControlView$46;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onMessageResult(Ljava/lang/String;)V
.locals 8
.prologue
.line 3898
const-string v0, "Vpai_CameraControlView"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "stopLive facebook resp: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p1}, 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
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 3899
invoke-static {p1}, Lcom/viatech/device/DeviceMessage;->parse(Ljava/lang/String;)Lcom/viatech/device/DeviceMessage$DeviceMessageResult;
move-result-object v0
.line 3900
if-eqz v0, :cond_0
iget v1, v0, Lcom/viatech/device/DeviceMessage$DeviceMessageResult;->ret:I
if-eqz v1, :cond_1
.line 3901
:cond_0
if-nez v0, :cond_2
const/16 v0, 0x194
.line 3902
:goto_0
sget-object v1, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast;
iget-object v2, p0, Lcom/viatech/camera/CameraControlView$46$1;->this$1:Lcom/viatech/camera/CameraControlView$46;
iget-object v2, v2, Lcom/viatech/camera/CameraControlView$46;->this$0:Lcom/viatech/camera/CameraControlView;
invoke-virtual {v2}, Lcom/viatech/camera/CameraControlView;->getResources()Landroid/content/res/Resources;
move-result-object v2
const v3, 0x7f0700e6
const/4 v4, 0x1
new-array v4, v4, [Ljava/lang/Object;
const/4 v5, 0x0
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V
const-string v7, ""
invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v6
invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
aput-object v0, v4, v5
invoke-virtual {v2, v3, v4}, Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/viatech/widget/VPaiToast;->show(Ljava/lang/String;)V
.line 3904
:cond_1
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$46$1;->this$1:Lcom/viatech/camera/CameraControlView$46;
iget-object v0, v0, Lcom/viatech/camera/CameraControlView$46;->this$0:Lcom/viatech/camera/CameraControlView;
iget-object v0, v0, Lcom/viatech/camera/CameraControlView;->mHandler:Landroid/os/Handler;
new-instance v1, Lcom/viatech/camera/CameraControlView$46$1$1;
invoke-direct {v1, p0}, Lcom/viatech/camera/CameraControlView$46$1$1;-><init>(Lcom/viatech/camera/CameraControlView$46$1;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
.line 3913
return-void
.line 3901
:cond_2
iget v0, v0, Lcom/viatech/device/DeviceMessage$DeviceMessageResult;->ret:I
goto :goto_0
.end method