76 lines
2.4 KiB
Java
76 lines
2.4 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.Pp, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C0838Pp implements Parcelable {
|
||
|
public static final Parcelable.Creator<C0838Pp> CREATOR = new HBt();
|
||
|
public String a;
|
||
|
public List<C0844Pu> c;
|
||
|
public String d;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public C0838Pp(String str, String str2, List<C0844Pu> list) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
this.a = str;
|
||
|
this.d = str2;
|
||
|
this.c = list;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.Pp$HBt */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class HBt implements Parcelable.Creator<C0838Pp> {
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* synthetic */ C0838Pp createFromParcel(Parcel parcel) {
|
||
|
ArrayList arrayList;
|
||
|
C14957gcv.e(parcel, "");
|
||
|
String readString = parcel.readString();
|
||
|
String readString2 = parcel.readString();
|
||
|
if (parcel.readInt() == 0) {
|
||
|
arrayList = null;
|
||
|
} else {
|
||
|
int readInt = parcel.readInt();
|
||
|
ArrayList arrayList2 = new ArrayList(readInt);
|
||
|
for (int i = 0; i != readInt; i++) {
|
||
|
arrayList2.add(C0844Pu.CREATOR.createFromParcel(parcel));
|
||
|
}
|
||
|
arrayList = arrayList2;
|
||
|
}
|
||
|
return new C0838Pp(readString, readString2, arrayList);
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public final /* bridge */ /* synthetic */ C0838Pp[] newArray(int i) {
|
||
|
return new C0838Pp[i];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
C14957gcv.e(parcel, "");
|
||
|
parcel.writeString(this.a);
|
||
|
parcel.writeString(this.d);
|
||
|
List<C0844Pu> list = this.c;
|
||
|
if (list == null) {
|
||
|
parcel.writeInt(0);
|
||
|
return;
|
||
|
}
|
||
|
parcel.writeInt(1);
|
||
|
parcel.writeInt(list.size());
|
||
|
Iterator<C0844Pu> it = list.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
it.next().writeToParcel(parcel, i);
|
||
|
}
|
||
|
}
|
||
|
}
|