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

133 lines
3.9 KiB

.class Lcom/viatech/camera/CreateLiveStreamActivity$8;
.super Ljava/lang/Object;
.source "CreateLiveStreamActivity.java"
# interfaces
.implements Lcom/viatech/cloud/LiveLoginManager$LiveLoginCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/camera/CreateLiveStreamActivity;->doFacebookLiveLogin()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.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 536
iput-object p1, p0, Lcom/viatech/camera/CreateLiveStreamActivity$8;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onLiveLoginResponse(Ljava/lang/Object;)V
.locals 3
.prologue
.line 539
invoke-static {}, Lcom/viatech/cloud/CloudConfig;->curUser()Lcom/viatech/cloud/CloudConfig$LoginUser;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/cloud/CloudConfig$LoginUser;->isWXLogin()Z
move-result v0
if-nez v0, :cond_0
invoke-static {}, Lcom/viatech/cloud/CloudConfig;->curUser()Lcom/viatech/cloud/CloudConfig$LoginUser;
move-result-object v0
invoke-virtual {v0}, Lcom/viatech/cloud/CloudConfig$LoginUser;->isLINELogin()Z
move-result v0
if-eqz v0, :cond_1
.line 540
:cond_0
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$8;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
move-result-object v0
.line 541
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
.line 542
const-string v1, "isWeiXinLoginAndFacebookLiveLogin"
const/4 v2, 0x1
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
.line 543
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 550
:goto_0
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$8;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$200(Lcom/viatech/camera/CreateLiveStreamActivity;)Z
.line 551
return-void
.line 545
:cond_1
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$8;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
move-result-object v0
.line 546
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
.line 547
const-string v1, "isWeiXinLoginAndFacebookLiveLogin"
const/4 v2, 0x0
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
.line 548
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_0
.end method
.method public onLiveLogoutResponse()V
.locals 1
.prologue
.line 555
iget-object v0, p0, Lcom/viatech/camera/CreateLiveStreamActivity$8;->this$0:Lcom/viatech/camera/CreateLiveStreamActivity;
invoke-static {v0}, Lcom/viatech/camera/CreateLiveStreamActivity;->access$200(Lcom/viatech/camera/CreateLiveStreamActivity;)Z
.line 556
return-void
.end method