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

265 lines
7.7 KiB

.class Lcom/viatech/camera/CreateLiveStreamActivity$9;
.super Ljava/lang/Object;
.source "CreateLiveStreamActivity.java"
# interfaces
.implements Lcom/facebook/FacebookCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CreateLiveStreamActivity;->initFacebookLive()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/FacebookCallback",
"<",
"Lcom/facebook/login/LoginResult;",
">;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
# direct methods
.method constructor <init>(Lcom/viatech/camera/CreateLiveStreamActivity;)V
.locals 0
.prologue
.line 1171
iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onCancel()V
.locals 2
.prologue
.line 1186
const-string v0, "Vpai_CreateLiveStreamActivity"
const-string v1, "onCancel"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 1187
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2200(Lcom/viatech/camera/CreateLiveStreamActivity;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2300(Lcom/viatech/camera/CreateLiveStreamActivity;)Z
move-result v0
if-nez v0, :cond_0
.line 1188
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
const-string v1, "Facebook livestream is testing. It is not public for users"
invoke-static {v0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2400(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)V
.line 1190
:cond_0
return-void
.end method
.method public onError(Lcom/facebook/FacebookException;)V
.locals 3
.prologue
.line 1194
const-string v0, "Vpai_CreateLiveStreamActivity"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onError"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {p1}, Lcom/facebook/FacebookException;->getMessage()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 1195
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
iget-object v1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
const v2, 0x7f0700cf
invoke-virtual {v1, v2}, Lcom/viatech/camera/CreateLiveStreamActivity;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$2400(Lcom/viatech/camera/CreateLiveStreamActivity;Ljava/lang/String;)V
.line 1196
return-void
.end method
.method public onSuccess(Lcom/facebook/login/LoginResult;)V
.locals 4
.prologue
.line 1174
const-string v0, "Vpai_CreateLiveStreamActivity"
const-string v1, "onSuccess"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 1175
invoke-virtual {p1}, Lcom/facebook/login/LoginResult;->getAccessToken()Lcom/facebook/AccessToken;
move-result-object v0
.line 1176
const-string v1, "Vpai_CreateLiveStreamActivity"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "onSuccess DeniedPermissions:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {p1}, Lcom/facebook/login/LoginResult;->getRecentlyDeniedPermissions()Ljava/util/Set;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 1177
const-string v1, "Vpai_CreateLiveStreamActivity"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "onSuccess RecentlyGrantedPermissions:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {p1}, Lcom/facebook/login/LoginResult;->getRecentlyGrantedPermissions()Ljava/util/Set;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 1179
const-string v1, "Vpai_CreateLiveStreamActivity"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "getPermissions="
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v0}, Lcom/facebook/AccessToken;->getPermissions()Ljava/util/Set;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 1180
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$9;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$200(Lcom/viatech/camera/CreateLiveStreamActivity;)Z
.line 1181
invoke-static {}, Lorg/greenrobot/eventbus/c;->a()Lorg/greenrobot/eventbus/c;
move-result-object v0
new-instance v1, Lcom/viatech/cloud/CloudView$LoginFBLiveEvent;
invoke-direct {v1, p1}, Lcom/viatech/cloud/CloudView$LoginFBLiveEvent;-><init>(Lcom/facebook/login/LoginResult;)V
invoke-virtual {v0, v1}, Lorg/greenrobot/eventbus/c;->c(Ljava/lang/Object;)V
.line 1182
return-void
.end method
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
.locals 0
.prologue
.line 1171
check-cast p1, Lcom/facebook/login/LoginResult;
invoke-virtual {p0, p1}, Lcom/viatech/camera/CreateLiveStreamActivity$9;->onSuccess(Lcom/facebook/login/LoginResult;)V
return-void
.end method