- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
66 lines
2.1 KiB
Java
66 lines
2.1 KiB
Java
package com.google.android.exoplayer2.source;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.exoplayer2.Format;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class TrackGroup implements Parcelable {
|
|
public static final Parcelable.Creator<TrackGroup> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.source.TrackGroup.1
|
|
@Override // android.os.Parcelable.Creator
|
|
public TrackGroup createFromParcel(Parcel parcel) {
|
|
return new TrackGroup(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public TrackGroup[] newArray(int i) {
|
|
return new TrackGroup[i];
|
|
}
|
|
};
|
|
public final Format[] formats;
|
|
public int hashCode;
|
|
public final int length;
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public TrackGroup(Parcel parcel) {
|
|
int readInt = parcel.readInt();
|
|
this.length = readInt;
|
|
this.formats = new Format[readInt];
|
|
for (int i = 0; i < this.length; i++) {
|
|
this.formats[i] = (Format) parcel.readParcelable(Format.class.getClassLoader());
|
|
}
|
|
}
|
|
|
|
public int hashCode() {
|
|
if (this.hashCode == 0) {
|
|
this.hashCode = IronSourceError.ERROR_NON_EXISTENT_INSTANCE + Arrays.hashCode(this.formats);
|
|
}
|
|
return this.hashCode;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || TrackGroup.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
TrackGroup trackGroup = (TrackGroup) obj;
|
|
return this.length == trackGroup.length && Arrays.equals(this.formats, trackGroup.formats);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeInt(this.length);
|
|
for (int i2 = 0; i2 < this.length; i2++) {
|
|
parcel.writeParcelable(this.formats[i2], 0);
|
|
}
|
|
}
|
|
}
|