what-the-bank/sources/com/google/android/gms/internal/vision/zzah.java

31 lines
1.2 KiB
Java
Raw Normal View History

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