2022-06-10 21:38:30 +09:00

82 lines
2.0 KiB
Smali

.class public abstract Lcom/google/android/gms/location/zzy;
.super Lcom/google/android/gms/internal/location/zzb;
# interfaces
.implements Lcom/google/android/gms/location/zzx;
# direct methods
.method public constructor <init>()V
.locals 1
const-string v0, "com.google.android.gms.location.ILocationListener"
invoke-direct {p0, v0}, Lcom/google/android/gms/internal/location/zzb;-><init>(Ljava/lang/String;)V
return-void
.end method
.method public static zzc(Landroid/os/IBinder;)Lcom/google/android/gms/location/zzx;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const-string v0, "com.google.android.gms.location.ILocationListener"
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
instance-of v1, v0, Lcom/google/android/gms/location/zzx;
if-eqz v1, :cond_1
check-cast v0, Lcom/google/android/gms/location/zzx;
return-object v0
:cond_1
new-instance v0, Lcom/google/android/gms/location/zzz;
invoke-direct {v0, p0}, Lcom/google/android/gms/location/zzz;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
# virtual methods
.method public final dispatchTransaction(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
const/4 p3, 0x1
if-ne p1, p3, :cond_0
sget-object p1, Landroid/location/Location;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-static {p2, p1}, Lcom/google/android/gms/internal/location/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Landroid/location/Location;
invoke-interface {p0, p1}, Lcom/google/android/gms/location/zzx;->onLocationChanged(Landroid/location/Location;)V
return p3
:cond_0
const/4 p1, 0x0
return p1
.end method