33 lines
852 B
Java
33 lines
852 B
Java
|
package com.google.android.gms.internal.p001authapiphone;
|
||
|
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class zzd {
|
||
|
private static final ClassLoader zza = zzd.class.getClassLoader();
|
||
|
|
||
|
private zzd() {
|
||
|
}
|
||
|
|
||
|
public static boolean zza(Parcel parcel) {
|
||
|
return parcel.readInt() != 0;
|
||
|
}
|
||
|
|
||
|
public static <T extends Parcelable> T zza(Parcel parcel, Parcelable.Creator<T> creator) {
|
||
|
if (parcel.readInt() == 0) {
|
||
|
return null;
|
||
|
}
|
||
|
return creator.createFromParcel(parcel);
|
||
|
}
|
||
|
|
||
|
public static void zza(Parcel parcel, IInterface iInterface) {
|
||
|
if (iInterface == null) {
|
||
|
parcel.writeStrongBinder(null);
|
||
|
} else {
|
||
|
parcel.writeStrongBinder(iInterface.asBinder());
|
||
|
}
|
||
|
}
|
||
|
}
|