.class public Landroidx/browser/customtabs/CustomTabsClient$2; .super Lc0/a/a/a$a; .source "CustomTabsClient.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Landroidx/browser/customtabs/CustomTabsClient;->createCallbackWrapper(Landroidx/browser/customtabs/CustomTabsCallback;)Lc0/a/a/a$a; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public mHandler:Landroid/os/Handler; .field public final synthetic this$0:Landroidx/browser/customtabs/CustomTabsClient; .field public final synthetic val$callback:Landroidx/browser/customtabs/CustomTabsCallback; # direct methods .method public constructor (Landroidx/browser/customtabs/CustomTabsClient;Landroidx/browser/customtabs/CustomTabsCallback;)V .locals 0 iput-object p1, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->this$0:Landroidx/browser/customtabs/CustomTabsClient; iput-object p2, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; invoke-direct {p0}, Lc0/a/a/a$a;->()V new-instance p1, Landroid/os/Handler; invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper; move-result-object p2 invoke-direct {p1, p2}, Landroid/os/Handler;->(Landroid/os/Looper;)V iput-object p1, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; return-void .end method # virtual methods .method public extraCallback(Ljava/lang/String;Landroid/os/Bundle;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Landroid/os/RemoteException; } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; new-instance v1, Landroidx/browser/customtabs/CustomTabsClient$2$2; invoke-direct {v1, p0, p1, p2}, Landroidx/browser/customtabs/CustomTabsClient$2$2;->(Landroidx/browser/customtabs/CustomTabsClient$2;Ljava/lang/String;Landroid/os/Bundle;)V invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z 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 .annotation system Ldalvik/annotation/Throws; value = { Landroid/os/RemoteException; } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 const/4 p1, 0x0 return-object p1 :cond_0 invoke-virtual {v0, p1, p2}, Landroidx/browser/customtabs/CustomTabsCallback;->extraCallbackWithResult(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle; move-result-object p1 return-object p1 .end method .method public onMessageChannelReady(Landroid/os/Bundle;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Landroid/os/RemoteException; } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; new-instance v1, Landroidx/browser/customtabs/CustomTabsClient$2$3; invoke-direct {v1, p0, p1}, Landroidx/browser/customtabs/CustomTabsClient$2$3;->(Landroidx/browser/customtabs/CustomTabsClient$2;Landroid/os/Bundle;)V invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z return-void .end method .method public onNavigationEvent(ILandroid/os/Bundle;)V .locals 2 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; new-instance v1, Landroidx/browser/customtabs/CustomTabsClient$2$1; invoke-direct {v1, p0, p1, p2}, Landroidx/browser/customtabs/CustomTabsClient$2$1;->(Landroidx/browser/customtabs/CustomTabsClient$2;ILandroid/os/Bundle;)V invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z return-void .end method .method public onPostMessage(Ljava/lang/String;Landroid/os/Bundle;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Landroid/os/RemoteException; } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; new-instance v1, Landroidx/browser/customtabs/CustomTabsClient$2$4; invoke-direct {v1, p0, p1, p2}, Landroidx/browser/customtabs/CustomTabsClient$2$4;->(Landroidx/browser/customtabs/CustomTabsClient$2;Ljava/lang/String;Landroid/os/Bundle;)V invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z return-void .end method .method public onRelationshipValidationResult(ILandroid/net/Uri;ZLandroid/os/Bundle;)V .locals 8 .param p4 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Throws; value = { Landroid/os/RemoteException; } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->val$callback:Landroidx/browser/customtabs/CustomTabsCallback; if-nez v0, :cond_0 return-void :cond_0 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsClient$2;->mHandler:Landroid/os/Handler; new-instance v7, Landroidx/browser/customtabs/CustomTabsClient$2$5; move-object v1, v7 move-object v2, p0 move v3, p1 move-object v4, p2 move v5, p3 move-object v6, p4 invoke-direct/range {v1 .. v6}, Landroidx/browser/customtabs/CustomTabsClient$2$5;->(Landroidx/browser/customtabs/CustomTabsClient$2;ILandroid/net/Uri;ZLandroid/os/Bundle;)V invoke-virtual {v0, v7}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z return-void .end method