BKAdvertisingIdClient$AdvertisingInterface.smali
.class final Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient$AdvertisingInterface;
.super Ljava/lang/Object;
.source "BKAdvertisingIdClient.java"
# interfaces
.implements Landroid/os/IInterface;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "AdvertisingInterface"
.end annotation
# instance fields
.field private binder:Landroid/os/IBinder;
# direct methods
.method public constructor <init>(Landroid/os/IBinder;)V
.registers 2
.line 93
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 94
iput-object p1, p0, Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient$AdvertisingInterface;->binder:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.registers 2
.line 98
iget-object v0, p0, Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient$AdvertisingInterface;->binder:Landroid/os/IBinder;
return-object v0
.end method
.method public getId()Ljava/lang/String;
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 102
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 103
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_8
const-string v2, "com.google.android.gms.ads.identifier.internal.IAdvertisingIdService"
.line 106
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
.line 107
iget-object v2, p0, Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient$AdvertisingInterface;->binder:Landroid/os/IBinder;
const/4 v3, 0x1
const/4 v4, 0x0
invoke-interface {v2, v3, v0, v1, v4}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.line 108
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
.line 109
invoke-virtual {v1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object v2
:try_end_1b
.catchall {:try_start_8 .. :try_end_1b} :catchall_22
.line 111
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 112
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-object v2
:catchall_22
move-exception v2
.line 111
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 112
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 113
throw v2
.end method
.method public isLimitAdTrackingEnabled(Z)Z
.registers 7
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 118
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 119
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_8
const-string v2, "com.google.android.gms.ads.identifier.internal.IAdvertisingIdService"
.line 122
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz p1, :cond_13
const/4 p1, 0x1
goto :goto_14
:cond_13
const/4 p1, 0x0
.line 123
:goto_14
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
.line 124
iget-object p1, p0, Lcom/bluekai/sdk/helpers/BKAdvertisingIdClient$AdvertisingInterface;->binder:Landroid/os/IBinder;
const/4 v4, 0x2
invoke-interface {p1, v4, v0, v1, v3}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.line 125
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
.line 126
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
move-result p1
:try_end_24
.catchall {:try_start_8 .. :try_end_24} :catchall_2f
if-eqz p1, :cond_27
goto :goto_28
:cond_27
const/4 v2, 0x0
.line 128
:goto_28
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 129
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return v2
:catchall_2f
move-exception p1
.line 128
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 129
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 130
throw p1
.end method