IMessengerCompat$Impl.smali
.class public Lcom/google/android/gms/cloudmessaging/IMessengerCompat$Impl;
.super Landroid/os/Binder;
.source "com.google.android.gms:play-services-cloud-messaging@@16.0.0"
# interfaces
.implements Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/cloudmessaging/IMessengerCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Impl"
.end annotation
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.registers 1
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 4
invoke-virtual {p0}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat$Impl;->getInterfaceDescriptor()Ljava/lang/String;
move-result-object p3
invoke-virtual {p2, p3}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
const/4 p3, 0x1
if-ne p1, p3, :cond_1e
.line 6
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
move-result p1
if-eqz p1, :cond_19
sget-object p1, Landroid/os/Message;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-interface {p1, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/os/Message;
goto :goto_1a
:cond_19
const/4 p1, 0x0
.line 7
:goto_1a
invoke-virtual {p0, p1}, Lcom/google/android/gms/cloudmessaging/IMessengerCompat$Impl;->send(Landroid/os/Message;)V
return p3
:cond_1e
const/4 p1, 0x0
return p1
.end method
.method public send(Landroid/os/Message;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 1
invoke-static {}, Landroid/os/Binder;->getCallingUid()I
move-result v0
iput v0, p1, Landroid/os/Message;->arg2:I
const/4 v0, 0x0
.line 2
invoke-virtual {v0, p1}, Landroid/os/Handler;->dispatchMessage(Landroid/os/Message;)V
return-void
.end method