113 lines
2.9 KiB
Smali
113 lines
2.9 KiB
Smali
.class public Lcom/google/firebase/iid/MessengerIpcClient$c;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-iid@@20.2.3"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/firebase/iid/MessengerIpcClient;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "c"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/os/Messenger;
|
|
|
|
.field public final b:Lcom/google/firebase/iid/FirebaseIidMessengerCompat;
|
|
|
|
|
|
# direct methods
|
|
.method public 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/MessengerIpcClient$c;->a:Landroid/os/Messenger;
|
|
|
|
iput-object v2, p0, Lcom/google/firebase/iid/MessengerIpcClient$c;->b:Lcom/google/firebase/iid/FirebaseIidMessengerCompat;
|
|
|
|
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/FirebaseIidMessengerCompat;
|
|
|
|
invoke-direct {v0, p1}, Lcom/google/firebase/iid/FirebaseIidMessengerCompat;-><init>(Landroid/os/IBinder;)V
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/iid/MessengerIpcClient$c;->b:Lcom/google/firebase/iid/FirebaseIidMessengerCompat;
|
|
|
|
iput-object v2, p0, Lcom/google/firebase/iid/MessengerIpcClient$c;->a: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
|