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.
183 lines
4.6 KiB
183 lines
4.6 KiB
2 years ago
|
.class final Lcom/viatech/b/a$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "FacebookSDKWrapper.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/facebook/GraphRequest$Callback;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/viatech/b/a;->a(Ljava/lang/String;Lcom/viatech/b/a$a;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic a:Ljava/lang/String;
|
||
|
|
||
|
.field final synthetic b:Lcom/viatech/b/a$a;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Ljava/lang/String;Lcom/viatech/b/a$a;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 119
|
||
|
iput-object p1, p0, Lcom/viatech/b/a$1;->a:Ljava/lang/String;
|
||
|
|
||
|
iput-object p2, p0, Lcom/viatech/b/a$1;->b:Lcom/viatech/b/a$a;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onCompleted(Lcom/facebook/GraphResponse;)V
|
||
|
.locals 6
|
||
|
|
||
|
.prologue
|
||
|
.line 122
|
||
|
const-string v0, "VPai_FacebookSDKWrapper"
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "stop facebook live, raw response: "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getRawResponse()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, 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 123
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 124
|
||
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getJSONObject()Lorg/json/JSONObject;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 125
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
.line 126
|
||
|
const-string v0, "id"
|
||
|
|
||
|
const-wide/16 v2, 0x0
|
||
|
|
||
|
invoke-virtual {v1, v0, v2, v3}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
.line 127
|
||
|
iget-object v0, p0, Lcom/viatech/b/a$1;->a:Ljava/lang/String;
|
||
|
|
||
|
new-instance v4, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v5, ""
|
||
|
|
||
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-virtual {v4, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 129
|
||
|
:cond_0
|
||
|
const-string v2, "VPai_FacebookSDKWrapper"
|
||
|
|
||
|
new-instance v3, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v4, "stop facebook live success: "
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
const-string v4, ", id: "
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
iget-object v4, p0, Lcom/viatech/b/a$1;->a:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
const-string v4, ", response: "
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v3, v1}, 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 {v2, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
.line 130
|
||
|
iget-object v1, p0, Lcom/viatech/b/a$1;->b:Lcom/viatech/b/a$a;
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
.line 131
|
||
|
iget-object v1, p0, Lcom/viatech/b/a$1;->b:Lcom/viatech/b/a$a;
|
||
|
|
||
|
invoke-interface {v1, v0}, Lcom/viatech/b/a$a;->onStopLiveResult(Z)V
|
||
|
|
||
|
.line 133
|
||
|
:cond_1
|
||
|
return-void
|
||
|
.end method
|