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

158 lines
5 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/browser/customtabs/CustomTabsSessionToken$1;
2019-07-24 11:27:29 +00:00
.super Landroidx/browser/customtabs/CustomTabsCallback;
.source "CustomTabsSessionToken.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-04-27 20:53:11 +00:00
value = Landroidx/browser/customtabs/CustomTabsSessionToken;-><init>(Lr/a/a/a;)V
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/browser/customtabs/CustomTabsSessionToken;)V
2019-07-24 11:27:29 +00:00
.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
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Lr/a/a/a;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, p1, p2}, Lr/a/a/a;->extraCallback(Ljava/lang/String;Landroid/os/Bundle;)V
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public onMessageChannelReady(Landroid/os/Bundle;)V
.locals 1
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Lr/a/a/a;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, p1}, Lr/a/a/a;->onMessageChannelReady(Landroid/os/Bundle;)V
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public onNavigationEvent(ILandroid/os/Bundle;)V
.locals 1
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Lr/a/a/a;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, p1, p2}, Lr/a/a/a;->onNavigationEvent(ILandroid/os/Bundle;)V
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public onPostMessage(Ljava/lang/String;Landroid/os/Bundle;)V
.locals 1
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Lr/a/a/a;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, p1, p2}, Lr/a/a/a;->onPostMessage(Ljava/lang/String;Landroid/os/Bundle;)V
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public onRelationshipValidationResult(ILandroid/net/Uri;ZLandroid/os/Bundle;)V
.locals 1
:try_start_0
iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsSessionToken$1;->this$0:Landroidx/browser/customtabs/CustomTabsSessionToken;
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Landroidx/browser/customtabs/CustomTabsSessionToken;->mCallbackBinder:Lr/a/a/a;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, p1, p2, p3, p4}, Lr/a/a/a;->onRelationshipValidationResult(ILandroid/net/Uri;ZLandroid/os/Bundle;)V
2019-07-24 11:27:29 +00:00
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
: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
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
.end method