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.
143 lines
4.3 KiB
143 lines
4.3 KiB
.class Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask$2; |
|
.super Ljava/lang/Object; |
|
.source "CreateLiveStreamActivity.java" |
|
|
|
# interfaces |
|
.implements Lcom/viatech/device/DeviceMessage$DeviceMessageCallback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask;->onPostExecute(Ljava/util/List;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$1:Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 941 |
|
iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask$2;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onMessageResult(Ljava/lang/String;)V |
|
.locals 6 |
|
|
|
.prologue |
|
const/4 v5, 0x0 |
|
|
|
const v4, 0x7f0700cf |
|
|
|
const/4 v3, 0x1 |
|
|
|
.line 946 |
|
:try_start_0 |
|
new-instance v0, Lorg/json/JSONObject; |
|
|
|
invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V |
|
|
|
.line 947 |
|
const-string v1, "ret" |
|
|
|
const/4 v2, -0x1 |
|
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I |
|
|
|
move-result v0 |
|
|
|
.line 948 |
|
if-eqz v0, :cond_0 |
|
|
|
.line 949 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask$2;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask; |
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1400(Lcom/viatech/camera/CreateLiveStreamActivity;)Landroid/app/ProgressDialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V |
|
|
|
.line 950 |
|
sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast; |
|
|
|
const v1, 0x7f0700cf |
|
|
|
const/4 v2, 0x1 |
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/viatech/widget/VPaiToast;->show(II)V |
|
:try_end_0 |
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 |
|
|
|
.line 958 |
|
:cond_0 |
|
:goto_0 |
|
return-void |
|
|
|
.line 952 |
|
:catch_0 |
|
move-exception v0 |
|
|
|
.line 953 |
|
const-string v0, "Vpai_CreateLiveStreamActivity" |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "startLiveStream onMessage bad json: message = " |
|
|
|
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;->w(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 954 |
|
sget-object v0, Lcom/viatech/camera/CreateLiveStreamActivity;->sCameraControlView:Lcom/viatech/camera/CameraControlView; |
|
|
|
invoke-virtual {v0, v5, v5}, Lcom/viatech/camera/CameraControlView;->stopLiveStream(Ljava/lang/String;Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;)I |
|
|
|
.line 955 |
|
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask$2;->this$1:Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask; |
|
|
|
iget-object v0, v0, Lcom/viatech/camera/CreateLiveStreamActivity$CreateLiveEventTask;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity; |
|
|
|
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$1400(Lcom/viatech/camera/CreateLiveStreamActivity;)Landroid/app/ProgressDialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V |
|
|
|
.line 956 |
|
sget-object v0, Lcom/viatech/VPaiApplication;->b:Lcom/viatech/widget/VPaiToast; |
|
|
|
invoke-virtual {v0, v4, v3}, Lcom/viatech/widget/VPaiToast;->show(II)V |
|
|
|
goto :goto_0 |
|
.end method
|
|
|