Files
iTartanas/itranvias_code/com/google/android.gms/location/zzs.java
T

30 lines
1.3 KiB
Java

package com.google.android.gms.location;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
/* JADX INFO: compiled from: com.google.android.gms:play-services-location@@21.2.0 */
/* JADX INFO: loaded from: classes2.dex */
public abstract class zzs extends com.google.android.gms.libs.identity.zzb implements zzt {
public zzs() {
super("com.google.android.gms.location.IDeviceOrientationListener");
}
public static zzt zzb(IBinder iBinder) {
IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.location.IDeviceOrientationListener");
return iInterfaceQueryLocalInterface instanceof zzt ? (zzt) iInterfaceQueryLocalInterface : new zzr(iBinder);
}
@Override // com.google.android.gms.libs.identity.zzb
protected final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
if (i != 1) {
return false;
}
DeviceOrientation deviceOrientation = (DeviceOrientation) com.google.android.gms.libs.identity.zzc.zza(parcel, DeviceOrientation.CREATOR);
com.google.android.gms.libs.identity.zzc.zzd(parcel);
zzd(deviceOrientation);
return true;
}
}