what-the-bank/sources/com/google/android/gms/maps/model/zzg.java

30 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.maps.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzg implements Parcelable.Creator<MapStyleOptions> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ MapStyleOptions[] newArray(int i) {
return new MapStyleOptions[i];
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ MapStyleOptions createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
String str = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
if (SafeParcelReader.getFieldId(readHeader) == 2) {
str = SafeParcelReader.createString(parcel, readHeader);
} else {
SafeParcelReader.skipUnknownField(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new MapStyleOptions(str);
}
}