103 lines
2.5 KiB
Smali
103 lines
2.5 KiB
Smali
.class final Lcom/google/firebase/iid/g;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-iid@@20.0.0"
|
|
|
|
|
|
# instance fields
|
|
.field final aRw:Landroid/os/Messenger;
|
|
|
|
.field final aRx:Lcom/google/firebase/iid/zzf;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroid/os/IBinder;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroid/os/RemoteException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-interface {p1}, Landroid/os/IBinder;->getInterfaceDescriptor()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "android.os.IMessenger"
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
new-instance v0, Landroid/os/Messenger;
|
|
|
|
invoke-direct {v0, p1}, Landroid/os/Messenger;-><init>(Landroid/os/IBinder;)V
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/iid/g;->aRw:Landroid/os/Messenger;
|
|
|
|
iput-object v2, p0, Lcom/google/firebase/iid/g;->aRx:Lcom/google/firebase/iid/zzf;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string v1, "com.google.android.gms.iid.IMessengerCompat"
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
new-instance v0, Lcom/google/firebase/iid/zzf;
|
|
|
|
invoke-direct {v0, p1}, Lcom/google/firebase/iid/zzf;-><init>(Landroid/os/IBinder;)V
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/iid/g;->aRx:Lcom/google/firebase/iid/zzf;
|
|
|
|
iput-object v2, p0, Lcom/google/firebase/iid/g;->aRw:Landroid/os/Messenger;
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string p1, "Invalid interface descriptor: "
|
|
|
|
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
new-instance v0, Ljava/lang/String;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
move-object p1, v0
|
|
|
|
:goto_0
|
|
const-string v0, "MessengerIpcClient"
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
new-instance p1, Landroid/os/RemoteException;
|
|
|
|
invoke-direct {p1}, Landroid/os/RemoteException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|