You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
6.2 KiB
202 lines
6.2 KiB
2 years ago
|
.class Landroid/support/customtabs/CustomTabsService$1;
|
||
|
.super Landroid/support/customtabs/ICustomTabsService$Stub;
|
||
|
.source "CustomTabsService.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroid/support/customtabs/CustomTabsService;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroid/support/customtabs/CustomTabsService;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 55
|
||
|
iput-object p1, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-direct {p0}, Landroid/support/customtabs/ICustomTabsService$Stub;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public extraCommand(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 91
|
||
|
iget-object v0, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-virtual {v0, p1, p2}, Landroid/support/customtabs/CustomTabsService;->extraCommand(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public mayLaunchUrl(Landroid/support/customtabs/ICustomTabsCallback;Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/List;)Z
|
||
|
.locals 2
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroid/support/customtabs/ICustomTabsCallback;",
|
||
|
"Landroid/net/Uri;",
|
||
|
"Landroid/os/Bundle;",
|
||
|
"Ljava/util/List",
|
||
|
"<",
|
||
|
"Landroid/os/Bundle;",
|
||
|
">;)Z"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 85
|
||
|
iget-object v0, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
new-instance v1, Landroid/support/customtabs/CustomTabsSessionToken;
|
||
|
|
||
|
invoke-direct {v1, p1}, Landroid/support/customtabs/CustomTabsSessionToken;-><init>(Landroid/support/customtabs/ICustomTabsCallback;)V
|
||
|
|
||
|
invoke-virtual {v0, v1, p2, p3, p4}, Landroid/support/customtabs/CustomTabsService;->mayLaunchUrl(Landroid/support/customtabs/CustomTabsSessionToken;Landroid/net/Uri;Landroid/os/Bundle;Ljava/util/List;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public newSession(Landroid/support/customtabs/ICustomTabsCallback;)Z
|
||
|
.locals 6
|
||
|
|
||
|
.prologue
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 64
|
||
|
new-instance v1, Landroid/support/customtabs/CustomTabsSessionToken;
|
||
|
|
||
|
invoke-direct {v1, p1}, Landroid/support/customtabs/CustomTabsSessionToken;-><init>(Landroid/support/customtabs/ICustomTabsCallback;)V
|
||
|
|
||
|
.line 66
|
||
|
:try_start_0
|
||
|
new-instance v2, Landroid/support/customtabs/CustomTabsService$1$1;
|
||
|
|
||
|
invoke-direct {v2, p0, v1}, Landroid/support/customtabs/CustomTabsService$1$1;-><init>(Landroid/support/customtabs/CustomTabsService$1;Landroid/support/customtabs/CustomTabsSessionToken;)V
|
||
|
|
||
|
.line 72
|
||
|
iget-object v3, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-static {v3}, Landroid/support/customtabs/CustomTabsService;->access$000(Landroid/support/customtabs/CustomTabsService;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
monitor-enter v3
|
||
|
:try_end_0
|
||
|
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
.line 73
|
||
|
:try_start_1
|
||
|
invoke-interface {p1}, Landroid/support/customtabs/ICustomTabsCallback;->asBinder()Landroid/os/IBinder;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
invoke-interface {v4, v2, v5}, Landroid/os/IBinder;->linkToDeath(Landroid/os/IBinder$DeathRecipient;I)V
|
||
|
|
||
|
.line 74
|
||
|
iget-object v4, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-static {v4}, Landroid/support/customtabs/CustomTabsService;->access$000(Landroid/support/customtabs/CustomTabsService;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-interface {p1}, Landroid/support/customtabs/ICustomTabsCallback;->asBinder()Landroid/os/IBinder;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
invoke-interface {v4, v5, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
.line 75
|
||
|
monitor-exit v3
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
.line 76
|
||
|
:try_start_2
|
||
|
iget-object v2, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-virtual {v2, v1}, Landroid/support/customtabs/CustomTabsService;->newSession(Landroid/support/customtabs/CustomTabsSessionToken;)Z
|
||
|
:try_end_2
|
||
|
.catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_0
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 78
|
||
|
:goto_0
|
||
|
return v0
|
||
|
|
||
|
.line 75
|
||
|
:catchall_0
|
||
|
move-exception v1
|
||
|
|
||
|
:try_start_3
|
||
|
monitor-exit v3
|
||
|
:try_end_3
|
||
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
||
|
|
||
|
:try_start_4
|
||
|
throw v1
|
||
|
:try_end_4
|
||
|
.catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_4} :catch_0
|
||
|
|
||
|
.line 77
|
||
|
:catch_0
|
||
|
move-exception v1
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public updateVisuals(Landroid/support/customtabs/ICustomTabsCallback;Landroid/os/Bundle;)Z
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 96
|
||
|
iget-object v0, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
new-instance v1, Landroid/support/customtabs/CustomTabsSessionToken;
|
||
|
|
||
|
invoke-direct {v1, p1}, Landroid/support/customtabs/CustomTabsSessionToken;-><init>(Landroid/support/customtabs/ICustomTabsCallback;)V
|
||
|
|
||
|
invoke-virtual {v0, v1, p2}, Landroid/support/customtabs/CustomTabsService;->updateVisuals(Landroid/support/customtabs/CustomTabsSessionToken;Landroid/os/Bundle;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public warmup(J)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 59
|
||
|
iget-object v0, p0, Landroid/support/customtabs/CustomTabsService$1;->this$0:Landroid/support/customtabs/CustomTabsService;
|
||
|
|
||
|
invoke-virtual {v0, p1, p2}, Landroid/support/customtabs/CustomTabsService;->warmup(J)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|