64 lines
1.9 KiB
Java
64 lines
1.9 KiB
Java
package o;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class XgG implements Parcelable {
|
|
public final Parcelable b;
|
|
public static final XgG a = new XgG() { // from class: o.XgG.3
|
|
};
|
|
public static final Parcelable.Creator<XgG> CREATOR = new Parcelable.ClassLoaderCreator<XgG>() { // from class: o.XgG.4
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ Object createFromParcel(Parcel parcel) {
|
|
if (parcel.readParcelable(null) != null) {
|
|
throw new IllegalStateException("superState must be null");
|
|
}
|
|
return XgG.a;
|
|
}
|
|
|
|
@Override // android.os.Parcelable.ClassLoaderCreator
|
|
public final /* synthetic */ XgG createFromParcel(Parcel parcel, ClassLoader classLoader) {
|
|
if (parcel.readParcelable(classLoader) != null) {
|
|
throw new IllegalStateException("superState must be null");
|
|
}
|
|
return XgG.a;
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* bridge */ /* synthetic */ Object[] newArray(int i) {
|
|
return new XgG[i];
|
|
}
|
|
};
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
/* synthetic */ XgG(byte b) {
|
|
this();
|
|
}
|
|
|
|
private XgG() {
|
|
this.b = null;
|
|
}
|
|
|
|
public XgG(Parcelable parcelable) {
|
|
if (parcelable == null) {
|
|
throw new IllegalArgumentException("superState must not be null");
|
|
}
|
|
this.b = parcelable == a ? null : parcelable;
|
|
}
|
|
|
|
public XgG(Parcel parcel, ClassLoader classLoader) {
|
|
Parcelable readParcelable = parcel.readParcelable(classLoader);
|
|
this.b = readParcelable == null ? a : readParcelable;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeParcelable(this.b, i);
|
|
}
|
|
}
|