what-the-bank/sources/com/google/android/gms/location/zzbu.java

53 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.location;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzbu implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
boolean z = false;
boolean z2 = false;
boolean z3 = false;
boolean z4 = false;
boolean z5 = false;
boolean z6 = false;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
switch (SafeParcelReader.getFieldId(readHeader)) {
case 1:
z = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 2:
z2 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 3:
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 4:
z4 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 5:
z5 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
case 6:
z6 = SafeParcelReader.readBoolean(parcel, readHeader);
break;
default:
SafeParcelReader.skipUnknownField(parcel, readHeader);
break;
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new LocationSettingsStates(z, z2, z3, z4, z5, z6);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new LocationSettingsStates[i];
}
}