.class public Landroidx/browser/customtabs/CustomTabsService$1; .super Lc0/a/a/b$a; .source "CustomTabsService.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/browser/customtabs/CustomTabsService; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic this$0:Landroidx/browser/customtabs/CustomTabsService; # direct methods .method public constructor (Landroidx/browser/customtabs/CustomTabsService;)V .locals 0 iput-object p1, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; invoke-direct {p0}, Lc0/a/a/b$a;->()V return-void .end method .method private getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; .locals 2 .param p1 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation if-nez p1, :cond_0 const/4 p1, 0x0 return-object p1 :cond_0 const-string v0, "android.support.customtabs.extra.SESSION_ID" invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable; move-result-object v1 check-cast v1, Landroid/app/PendingIntent; invoke-virtual {p1, v0}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V return-object v1 .end method .method private newSessionInternal(Lc0/a/a/a;Landroid/app/PendingIntent;)Z .locals 4 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/app/PendingIntent; .annotation build Landroidx/annotation/Nullable; .end annotation .end param new-instance v0, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {v0, p1, p2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V const/4 p2, 0x0 :try_start_0 new-instance v1, Ld0/a/a/a; invoke-direct {v1, p0, v0}, Ld0/a/a/a;->(Landroidx/browser/customtabs/CustomTabsService$1;Landroidx/browser/customtabs/CustomTabsSessionToken;)V iget-object v2, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; iget-object v2, v2, Landroidx/browser/customtabs/CustomTabsService;->mDeathRecipientMap:Landroidx/collection/SimpleArrayMap; monitor-enter v2 :try_end_0 .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0 :try_start_1 invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder; move-result-object v3 invoke-interface {v3, v1, p2}, Landroid/os/IBinder;->linkToDeath(Landroid/os/IBinder$DeathRecipient;I)V iget-object v3, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; iget-object v3, v3, Landroidx/browser/customtabs/CustomTabsService;->mDeathRecipientMap:Landroidx/collection/SimpleArrayMap; invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder; move-result-object p1 invoke-virtual {v3, p1, v1}, Landroidx/collection/SimpleArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; monitor-exit v2 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 :try_start_2 iget-object p1, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; invoke-virtual {p1, v0}, Landroidx/browser/customtabs/CustomTabsService;->newSession(Landroidx/browser/customtabs/CustomTabsSessionToken;)Z move-result p1 :try_end_2 .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0 return p1 :catchall_0 move-exception p1 :try_start_3 monitor-exit v2 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_0 :try_start_4 throw p1 :try_end_4 .catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_4} :catch_0 :catch_0 return p2 .end method # virtual methods .method public extraCommand(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 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; invoke-virtual {v0, p1, p2}, Landroidx/browser/customtabs/CustomTabsService;->extraCommand(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle; move-result-object p1 return-object p1 .end method .method public synthetic g(Landroidx/browser/customtabs/CustomTabsSessionToken;)V .locals 1 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; invoke-virtual {v0, p1}, Landroidx/browser/customtabs/CustomTabsService;->cleanUpSession(Landroidx/browser/customtabs/CustomTabsSessionToken;)Z return-void .end method .method public mayLaunchUrl(Lc0/a/a/a;Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/List;)Z .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p2 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p4 # Ljava/util/List; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Lc0/a/a/a;", "Landroid/net/Uri;", "Landroid/os/Bundle;", "Ljava/util/List<", "Landroid/os/Bundle;", ">;)Z" } .end annotation iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p3}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object v2 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2, p3, p4}, Landroidx/browser/customtabs/CustomTabsService;->mayLaunchUrl(Landroidx/browser/customtabs/CustomTabsSessionToken;Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/List;)Z move-result p1 return p1 .end method .method public newSession(Lc0/a/a/a;)Z .locals 1 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param const/4 v0, 0x0 invoke-direct {p0, p1, v0}, Landroidx/browser/customtabs/CustomTabsService$1;->newSessionInternal(Lc0/a/a/a;Landroid/app/PendingIntent;)Z move-result p1 return p1 .end method .method public newSessionWithExtras(Lc0/a/a/a;Landroid/os/Bundle;)Z .locals 0 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param invoke-direct {p0, p2}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object p2 invoke-direct {p0, p1, p2}, Landroidx/browser/customtabs/CustomTabsService$1;->newSessionInternal(Lc0/a/a/a;Landroid/app/PendingIntent;)Z move-result p1 return p1 .end method .method public postMessage(Lc0/a/a/a;Ljava/lang/String;Landroid/os/Bundle;)I .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p3}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object v2 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2, p3}, Landroidx/browser/customtabs/CustomTabsService;->postMessage(Landroidx/browser/customtabs/CustomTabsSessionToken;Ljava/lang/String;Landroid/os/Bundle;)I move-result p1 return p1 .end method .method public receiveFile(Lc0/a/a/a;Landroid/net/Uri;ILandroid/os/Bundle;)Z .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .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 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p4}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object v2 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2, p3, p4}, Landroidx/browser/customtabs/CustomTabsService;->receiveFile(Landroidx/browser/customtabs/CustomTabsSessionToken;Landroid/net/Uri;ILandroid/os/Bundle;)Z move-result p1 return p1 .end method .method public requestPostMessageChannel(Lc0/a/a/a;Landroid/net/Uri;)Z .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; const/4 v2, 0x0 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2}, Landroidx/browser/customtabs/CustomTabsService;->requestPostMessageChannel(Landroidx/browser/customtabs/CustomTabsSessionToken;Landroid/net/Uri;)Z move-result p1 return p1 .end method .method public requestPostMessageChannelWithExtras(Lc0/a/a/a;Landroid/net/Uri;Landroid/os/Bundle;)Z .locals 2 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/net/Uri; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # Landroid/os/Bundle; .annotation build Landroidx/annotation/NonNull; .end annotation .end param iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p3}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object p3 invoke-direct {v1, p1, p3}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2}, Landroidx/browser/customtabs/CustomTabsService;->requestPostMessageChannel(Landroidx/browser/customtabs/CustomTabsSessionToken;Landroid/net/Uri;)Z move-result p1 return p1 .end method .method public updateVisuals(Lc0/a/a/a;Landroid/os/Bundle;)Z .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/os/Bundle; .annotation build Landroidx/annotation/Nullable; .end annotation .end param iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p2}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object v2 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2}, Landroidx/browser/customtabs/CustomTabsService;->updateVisuals(Landroidx/browser/customtabs/CustomTabsSessionToken;Landroid/os/Bundle;)Z move-result p1 return p1 .end method .method public validateRelationship(Lc0/a/a/a;ILandroid/net/Uri;Landroid/os/Bundle;)Z .locals 3 .param p1 # Lc0/a/a/a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p3 # 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 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; new-instance v1, Landroidx/browser/customtabs/CustomTabsSessionToken; invoke-direct {p0, p4}, Landroidx/browser/customtabs/CustomTabsService$1;->getSessionIdFromBundle(Landroid/os/Bundle;)Landroid/app/PendingIntent; move-result-object v2 invoke-direct {v1, p1, v2}, Landroidx/browser/customtabs/CustomTabsSessionToken;->(Lc0/a/a/a;Landroid/app/PendingIntent;)V invoke-virtual {v0, v1, p2, p3, p4}, Landroidx/browser/customtabs/CustomTabsService;->validateRelationship(Landroidx/browser/customtabs/CustomTabsSessionToken;ILandroid/net/Uri;Landroid/os/Bundle;)Z move-result p1 return p1 .end method .method public warmup(J)Z .locals 1 iget-object v0, p0, Landroidx/browser/customtabs/CustomTabsService$1;->this$0:Landroidx/browser/customtabs/CustomTabsService; invoke-virtual {v0, p1, p2}, Landroidx/browser/customtabs/CustomTabsService;->warmup(J)Z move-result p1 return p1 .end method