granularity level: instruction
.class public final Lcom/google/android/gms/cloudmessaging/zzd;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"
.implements Landroid/os/Parcelable;
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/cloudmessaging/zzd;",
">;"
}
.end annotation
.end field
.field zza:Landroid/os/Messenger;
.field zzb:Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/cloudmessaging/zzb;
invoke-direct {v0}, Lcom/google/android/gms/cloudmessaging/zzb;-><init>()V
sput-object v0, Lcom/google/android/gms/cloudmessaging/zzd;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(Landroid/os/IBinder;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x15
if-lt v0, 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/android/gms/cloudmessaging/zzd;->zza:Landroid/os/Messenger;
return-void
:cond_0
new-instance v0, Lcom/google/android/gms/cloudmessaging/IMessengerCompat$Proxy;
invoke-direct {v0, p1}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat$Proxy;-><init>(Landroid/os/IBinder;)V
iput-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zzb:Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
return-void
.end method
.method public final describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final equals(Ljava/lang/Object;)Z
.locals 2
const/4 v0, 0x0
if-nez p1, :cond_0
return v0
:cond_0
:try_start_0
invoke-virtual {p0}, Lcom/google/android/gms/cloudmessaging/zzd;->zza()Landroid/os/IBinder;
move-result-object v1
check-cast p1, Lcom/google/android/gms/cloudmessaging/zzd;
invoke-virtual {p1}, Lcom/google/android/gms/cloudmessaging/zzd;->zza()Landroid/os/IBinder;
move-result-object p1
invoke-virtual {v1, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
:try_end_0
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0
return p1
:catch_0
return v0
.end method
.method public final hashCode()I
.locals 1
invoke-virtual {p0}, Lcom/google/android/gms/cloudmessaging/zzd;->zza()Landroid/os/IBinder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
return v0
.end method
.method public final writeToParcel(Landroid/os/Parcel;I)V
.locals 0
iget-object p2, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zza:Landroid/os/Messenger;
if-eqz p2, :cond_0
invoke-virtual {p2}, Landroid/os/Messenger;->getBinder()Landroid/os/IBinder;
move-result-object p2
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
return-void
:cond_0
iget-object p2, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zzb:Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
invoke-interface {p2}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat;->asBinder()Landroid/os/IBinder;
move-result-object p2
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
return-void
.end method
.method public final zza()Landroid/os/IBinder;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zza:Landroid/os/Messenger;
if-eqz v0, :cond_0
invoke-virtual {v0}, Landroid/os/Messenger;->getBinder()Landroid/os/IBinder;
move-result-object v0
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zzb:Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
invoke-interface {v0}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat;->asBinder()Landroid/os/IBinder;
move-result-object v0
:goto_0
return-object v0
.end method
.method public final zzb(Landroid/os/Message;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zza:Landroid/os/Messenger;
if-eqz v0, :cond_0
invoke-virtual {v0, p1}, Landroid/os/Messenger;->send(Landroid/os/Message;)V
return-void
:cond_0
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzd;->zzb:Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
invoke-interface {v0, p1}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat;->send(Landroid/os/Message;)V
return-void
.end method