200 lines
4.7 KiB
Smali
200 lines
4.7 KiB
Smali
.class final Landroid/support/a/c$a$a;
|
|
.super Ljava/lang/Object;
|
|
.source "IPostMessageService.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/support/a/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroid/support/a/c$a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x8
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private mRemote:Landroid/os/IBinder;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/os/IBinder;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroid/support/a/c$a$a;->mRemote:Landroid/os/IBinder;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final asBinder()Landroid/os/IBinder;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroid/support/a/c$a$a;->mRemote:Landroid/os/IBinder;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onMessageChannelReady(Landroid/support/a/a;Landroid/os/Bundle;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v1
|
|
|
|
:try_start_0
|
|
const-string v2, "android.support.customtabs.IPostMessageService"
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-interface {p1}, Landroid/support/a/a;->asBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
invoke-virtual {p2, v0, p1}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
:goto_1
|
|
iget-object p2, p0, Landroid/support/a/c$a$a;->mRemote:Landroid/os/IBinder;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
invoke-interface {p2, v2, v0, v1, p1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onPostMessage(Landroid/support/a/a;Ljava/lang/String;Landroid/os/Bundle;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
|
|
|
|
move-result-object v1
|
|
|
|
:try_start_0
|
|
const-string v2, "android.support.customtabs.IPostMessageService"
|
|
|
|
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-interface {p1}, Landroid/support/a/a;->asBinder()Landroid/os/IBinder;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
|
|
|
|
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
invoke-virtual {p3, v0, p1}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
:goto_1
|
|
iget-object p2, p0, Landroid/support/a/c$a$a;->mRemote:Landroid/os/IBinder;
|
|
|
|
const/4 p3, 0x3
|
|
|
|
invoke-interface {p2, p3, v0, v1, p1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
|
|
|
|
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
|
|
|
|
throw p1
|
|
.end method
|