apkfuckery/com.discord/smali/androidx/browser/customtabs/CustomTabsSessionToken$1.smali

226 lines
7.2 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/browser/customtabs/CustomTabsSessionToken$1;
.super Landroidx/browser/customtabs/CustomTabsCallback;
.source "CustomTabsSessionToken.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-11-14 03:19:56 +00:00
value = Landroidx/browser/customtabs/CustomTabsSessionToken;-><init>(Ls/a/a/a;Landroid/app/PendingIntent;)V
2020-11-12 02:11:44 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
# direct methods
.method public constructor <init>(Landroidx/browser/customtabs/CustomTabsSessionToken;)V
.locals 0
iput-object p1, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
invoke-direct {p0}, Landroidx/browser/customtabs/CustomTabsCallback;-><init>()V
return-void
.end method
# virtual methods
.method public extraCallback(Ljava/lang/String;Landroid/os/Bundle;)V
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1, p2}, Ls/a/a/a;->extraCallback(Ljava/lang/String;Landroid/os/Bundle;)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string p2, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method
.method public extraCallbackWithResult(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1, p2}, Ls/a/a/a;->extraCallbackWithResult(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
2020-11-12 02:11:44 +00:00
move-result-object p1
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string p2, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
const/4 p1, 0x0
return-object p1
.end method
.method public onMessageChannelReady(Landroid/os/Bundle;)V
.locals 1
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1}, Ls/a/a/a;->onMessageChannelReady(Landroid/os/Bundle;)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string v0, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method
.method public onNavigationEvent(ILandroid/os/Bundle;)V
.locals 1
.param p2 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1, p2}, Ls/a/a/a;->onNavigationEvent(ILandroid/os/Bundle;)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string p2, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method
.method public onPostMessage(Ljava/lang/String;Landroid/os/Bundle;)V
.locals 1
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1, p2}, Ls/a/a/a;->onPostMessage(Ljava/lang/String;Landroid/os/Bundle;)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string p2, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method
.method public onRelationshipValidationResult(ILandroid/net/Uri;ZLandroid/os/Bundle;)V
.locals 1
.param p2 # Landroid/net/Uri;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Ls/a/a/a;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-interface {v0, p1, p2, p3, p4}, Ls/a/a/a;->onRelationshipValidationResult(ILandroid/net/Uri;ZLandroid/os/Bundle;)V
2020-11-12 02:11:44 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const-string p1, "CustomTabsSessionToken"
const-string p2, "RemoteException during ICustomTabsCallback transaction"
invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
return-void
.end method