- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
554 lines
18 KiB
Smali
554 lines
18 KiB
Smali
.class public final Lcom/facebook/gamingservices/ContextSwitchDialog;
|
|
.super Lcom/facebook/internal/FacebookDialogBase;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/facebook/gamingservices/ContextSwitchDialog$Result;,
|
|
Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;,
|
|
Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;,
|
|
Lcom/facebook/gamingservices/ContextSwitchDialog$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/internal/FacebookDialogBase<",
|
|
"Lcom/facebook/gamingservices/model/ContextSwitchContent;",
|
|
"Lcom/facebook/gamingservices/ContextSwitchDialog$Result;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final Companion:Lcom/facebook/gamingservices/ContextSwitchDialog$Companion;
|
|
|
|
.field private static final DEFAULT_REQUEST_CODE:I
|
|
|
|
|
|
# instance fields
|
|
.field private callback:Lcom/facebook/FacebookCallback;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/facebook/FacebookCallback<",
|
|
"Lcom/facebook/gamingservices/ContextSwitchDialog$Result;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static synthetic $r8$lambda$I5gLffVTRLvuBfVRSU8E3GifbLw(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/share/internal/ResultProcessor;ILandroid/content/Intent;)Z
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-static {p0, p1, p2, p3}, Lcom/facebook/gamingservices/ContextSwitchDialog;->registerCallbackImpl$lambda-3(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/share/internal/ResultProcessor;ILandroid/content/Intent;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static synthetic $r8$lambda$QVU9iC8slQ4pVx_mWXwbffZx8KY(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/GraphResponse;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-static {p0, p1}, Lcom/facebook/gamingservices/ContextSwitchDialog;->showForCloud$lambda-2(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/GraphResponse;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/facebook/gamingservices/ContextSwitchDialog$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/facebook/gamingservices/ContextSwitchDialog;->Companion:Lcom/facebook/gamingservices/ContextSwitchDialog$Companion;
|
|
|
|
.line 216
|
|
sget-object v0, Lcom/facebook/internal/CallbackManagerImpl$RequestCodeOffset;->GamingContextSwitch:Lcom/facebook/internal/CallbackManagerImpl$RequestCodeOffset;
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/internal/CallbackManagerImpl$RequestCodeOffset;->toRequestCode()I
|
|
|
|
move-result v0
|
|
|
|
sput v0, Lcom/facebook/gamingservices/ContextSwitchDialog;->DEFAULT_REQUEST_CODE:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/app/Activity;)V
|
|
.locals 1
|
|
|
|
const-string v0, "activity"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget v0, Lcom/facebook/gamingservices/ContextSwitchDialog;->DEFAULT_REQUEST_CODE:I
|
|
|
|
.line 36
|
|
invoke-direct {p0, p1, v0}, Lcom/facebook/internal/FacebookDialogBase;-><init>(Landroid/app/Activity;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/app/Fragment;)V
|
|
.locals 1
|
|
|
|
const-string v0, "fragment"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 50
|
|
new-instance v0, Lcom/facebook/internal/FragmentWrapper;
|
|
|
|
invoke-direct {v0, p1}, Lcom/facebook/internal/FragmentWrapper;-><init>(Landroid/app/Fragment;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/facebook/gamingservices/ContextSwitchDialog;-><init>(Lcom/facebook/internal/FragmentWrapper;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroidx/fragment/app/Fragment;)V
|
|
.locals 1
|
|
|
|
const-string v0, "fragment"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 43
|
|
new-instance v0, Lcom/facebook/internal/FragmentWrapper;
|
|
|
|
invoke-direct {v0, p1}, Lcom/facebook/internal/FragmentWrapper;-><init>(Landroidx/fragment/app/Fragment;)V
|
|
|
|
invoke-direct {p0, v0}, Lcom/facebook/gamingservices/ContextSwitchDialog;-><init>(Lcom/facebook/internal/FragmentWrapper;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Lcom/facebook/internal/FragmentWrapper;)V
|
|
.locals 1
|
|
|
|
sget v0, Lcom/facebook/gamingservices/ContextSwitchDialog;->DEFAULT_REQUEST_CODE:I
|
|
|
|
.line 54
|
|
invoke-direct {p0, p1, v0}, Lcom/facebook/internal/FacebookDialogBase;-><init>(Lcom/facebook/internal/FragmentWrapper;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getActivityContext(Lcom/facebook/gamingservices/ContextSwitchDialog;)Landroid/app/Activity;
|
|
.locals 0
|
|
|
|
.line 28
|
|
invoke-virtual {p0}, Lcom/facebook/internal/FacebookDialogBase;->getActivityContext()Landroid/app/Activity;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final registerCallbackImpl$lambda-3(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/share/internal/ResultProcessor;ILandroid/content/Intent;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "this$0"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "$resultProcessor"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 130
|
|
sget-object v0, Lcom/facebook/share/internal/ShareInternalUtility;->INSTANCE:Lcom/facebook/share/internal/ShareInternalUtility;
|
|
|
|
invoke-virtual {p0}, Lcom/facebook/internal/FacebookDialogBase;->getRequestCode()I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0, p2, p3, p1}, Lcom/facebook/share/internal/ShareInternalUtility;->handleActivityResult(IILandroid/content/Intent;Lcom/facebook/share/internal/ResultProcessor;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private final showForCloud(Lcom/facebook/gamingservices/model/ContextSwitchContent;)V
|
|
.locals 3
|
|
|
|
.line 74
|
|
sget-object v0, Lcom/facebook/AccessToken;->Companion:Lcom/facebook/AccessToken$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/AccessToken$Companion;->getCurrentAccessToken()Lcom/facebook/AccessToken;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 75
|
|
invoke-virtual {v0}, Lcom/facebook/AccessToken;->isExpired()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 79
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$$ExternalSyntheticLambda1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/facebook/gamingservices/ContextSwitchDialog$$ExternalSyntheticLambda1;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;)V
|
|
|
|
.line 85
|
|
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent;->getContextID()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
iget-object p1, p0, Lcom/facebook/gamingservices/ContextSwitchDialog;->callback:Lcom/facebook/FacebookCallback;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 87
|
|
:cond_0
|
|
new-instance v0, Lcom/facebook/FacebookException;
|
|
|
|
const-string v1, "Required string contextID not provided."
|
|
|
|
invoke-direct {v0, v1}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1, v0}, Lcom/facebook/FacebookCallback;->onError(Lcom/facebook/FacebookException;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 90
|
|
:cond_1
|
|
new-instance v1, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
:try_start_0
|
|
const-string v2, "id"
|
|
|
|
.line 92
|
|
invoke-virtual {v1, v2, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 94
|
|
invoke-virtual {p0}, Lcom/facebook/internal/FacebookDialogBase;->getActivityContext()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v2, Lcom/facebook/gamingservices/cloudgaming/internal/SDKMessageEnum;->CONTEXT_SWITCH:Lcom/facebook/gamingservices/cloudgaming/internal/SDKMessageEnum;
|
|
|
|
.line 93
|
|
invoke-static {p1, v1, v0, v2}, Lcom/facebook/gamingservices/cloudgaming/DaemonRequest;->executeAsync(Landroid/content/Context;Lorg/json/JSONObject;Lcom/facebook/gamingservices/cloudgaming/DaemonRequest$Callback;Lcom/facebook/gamingservices/cloudgaming/internal/SDKMessageEnum;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
iget-object p1, p0, Lcom/facebook/gamingservices/ContextSwitchDialog;->callback:Lcom/facebook/FacebookCallback;
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
.line 96
|
|
:cond_2
|
|
new-instance v0, Lcom/facebook/FacebookException;
|
|
|
|
const-string v1, "Couldn\'t prepare Context Switch Dialog"
|
|
|
|
invoke-direct {v0, v1}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1, v0}, Lcom/facebook/FacebookCallback;->onError(Lcom/facebook/FacebookException;)V
|
|
|
|
:goto_1
|
|
return-void
|
|
|
|
.line 76
|
|
:cond_3
|
|
new-instance p1, Lcom/facebook/FacebookException;
|
|
|
|
const-string v0, "Attempted to open ContextSwitchContent with an invalid access token"
|
|
|
|
invoke-direct {p1, v0}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private static final showForCloud$lambda-2(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/GraphResponse;)V
|
|
.locals 2
|
|
|
|
const-string v0, "this$0"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 80
|
|
iget-object p0, p0, Lcom/facebook/gamingservices/ContextSwitchDialog;->callback:Lcom/facebook/FacebookCallback;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 81
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getError()Lcom/facebook/FacebookRequestError;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v1, Lcom/facebook/FacebookException;
|
|
|
|
invoke-virtual {v0}, Lcom/facebook/FacebookRequestError;->getErrorMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-interface {p0, v1}, Lcom/facebook/FacebookCallback;->onError(Lcom/facebook/FacebookException;)V
|
|
|
|
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
|
|
:goto_0
|
|
if-nez v0, :cond_2
|
|
|
|
.line 82
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;
|
|
|
|
const-string v1, "response"
|
|
|
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {v0, p1}, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;-><init>(Lcom/facebook/GraphResponse;)V
|
|
|
|
invoke-interface {p0, v0}, Lcom/facebook/FacebookCallback;->onSuccess(Ljava/lang/Object;)V
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public canShow(Lcom/facebook/gamingservices/model/ContextSwitchContent;)Z
|
|
.locals 2
|
|
|
|
const-string v0, "content"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 62
|
|
invoke-static {}, Lcom/facebook/gamingservices/cloudgaming/CloudGameLoginHandler;->isRunningInCloud()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 63
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;
|
|
|
|
invoke-direct {v0, p0}, Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;)V
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;->canShow(Lcom/facebook/gamingservices/model/ContextSwitchContent;Z)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 64
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;
|
|
|
|
invoke-direct {v0, p0}, Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;)V
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;->canShow(Lcom/facebook/gamingservices/model/ContextSwitchContent;Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public bridge synthetic canShow(Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 28
|
|
check-cast p1, Lcom/facebook/gamingservices/model/ContextSwitchContent;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/ContextSwitchDialog;->canShow(Lcom/facebook/gamingservices/model/ContextSwitchContent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public createBaseAppCall()Lcom/facebook/internal/AppCall;
|
|
.locals 4
|
|
|
|
.line 137
|
|
new-instance v0, Lcom/facebook/internal/AppCall;
|
|
|
|
invoke-virtual {p0}, Lcom/facebook/internal/FacebookDialogBase;->getRequestCode()I
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x2
|
|
|
|
invoke-direct {v0, v1, v2, v3, v2}, Lcom/facebook/internal/AppCall;-><init>(ILjava/util/UUID;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getOrderedModeHandlers()Ljava/util/List;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/facebook/internal/FacebookDialogBase<",
|
|
"Lcom/facebook/gamingservices/model/ContextSwitchContent;",
|
|
"Lcom/facebook/gamingservices/ContextSwitchDialog$Result;",
|
|
">.ModeHandler;>;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [Lcom/facebook/internal/FacebookDialogBase$ModeHandler;
|
|
|
|
.line 135
|
|
new-instance v1, Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;
|
|
|
|
invoke-direct {v1, p0}, Lcom/facebook/gamingservices/ContextSwitchDialog$FacebookAppHandler;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;
|
|
|
|
invoke-direct {v1, p0}, Lcom/facebook/gamingservices/ContextSwitchDialog$WebHandler;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
invoke-static {v0}, Lkotlin/collections/CollectionsKt;->listOf([Ljava/lang/Object;)Ljava/util/List;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public registerCallbackImpl(Lcom/facebook/internal/CallbackManagerImpl;Lcom/facebook/FacebookCallback;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/facebook/internal/CallbackManagerImpl;",
|
|
"Lcom/facebook/FacebookCallback<",
|
|
"Lcom/facebook/gamingservices/ContextSwitchDialog$Result;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "callbackManager"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "callback"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iput-object p2, p0, Lcom/facebook/gamingservices/ContextSwitchDialog;->callback:Lcom/facebook/FacebookCallback;
|
|
|
|
.line 106
|
|
new-instance v0, Lcom/facebook/gamingservices/ContextSwitchDialog$registerCallbackImpl$resultProcessor$1;
|
|
|
|
invoke-direct {v0, p2}, Lcom/facebook/gamingservices/ContextSwitchDialog$registerCallbackImpl$resultProcessor$1;-><init>(Lcom/facebook/FacebookCallback;)V
|
|
|
|
.line 129
|
|
invoke-virtual {p0}, Lcom/facebook/internal/FacebookDialogBase;->getRequestCode()I
|
|
|
|
move-result p2
|
|
|
|
new-instance v1, Lcom/facebook/gamingservices/ContextSwitchDialog$$ExternalSyntheticLambda0;
|
|
|
|
invoke-direct {v1, p0, v0}, Lcom/facebook/gamingservices/ContextSwitchDialog$$ExternalSyntheticLambda0;-><init>(Lcom/facebook/gamingservices/ContextSwitchDialog;Lcom/facebook/share/internal/ResultProcessor;)V
|
|
|
|
invoke-virtual {p1, p2, v1}, Lcom/facebook/internal/CallbackManagerImpl;->registerCallback(ILcom/facebook/internal/CallbackManagerImpl$Callback;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public showImpl(Lcom/facebook/gamingservices/model/ContextSwitchContent;Ljava/lang/Object;)V
|
|
.locals 1
|
|
|
|
const-string v0, "content"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "mode"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 67
|
|
invoke-static {}, Lcom/facebook/gamingservices/cloudgaming/CloudGameLoginHandler;->isRunningInCloud()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 68
|
|
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/ContextSwitchDialog;->showForCloud(Lcom/facebook/gamingservices/model/ContextSwitchContent;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 70
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Lcom/facebook/internal/FacebookDialogBase;->showImpl(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic showImpl(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 28
|
|
check-cast p1, Lcom/facebook/gamingservices/model/ContextSwitchContent;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lcom/facebook/gamingservices/ContextSwitchDialog;->showImpl(Lcom/facebook/gamingservices/model/ContextSwitchContent;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|