- 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
70 lines
2.0 KiB
Java
70 lines
2.0 KiB
Java
package com.google.android.exoplayer2.metadata;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class Metadata implements Parcelable {
|
|
public static final Parcelable.Creator<Metadata> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.Metadata.1
|
|
@Override // android.os.Parcelable.Creator
|
|
public Metadata createFromParcel(Parcel parcel) {
|
|
return new Metadata(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public Metadata[] newArray(int i) {
|
|
return new Metadata[i];
|
|
}
|
|
};
|
|
public final Entry[] entries;
|
|
|
|
public interface Entry extends Parcelable {
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public Metadata(Parcel parcel) {
|
|
this.entries = new Entry[parcel.readInt()];
|
|
int i = 0;
|
|
while (true) {
|
|
Entry[] entryArr = this.entries;
|
|
if (i >= entryArr.length) {
|
|
return;
|
|
}
|
|
entryArr[i] = (Entry) parcel.readParcelable(Entry.class.getClassLoader());
|
|
i++;
|
|
}
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || Metadata.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
return Arrays.equals(this.entries, ((Metadata) obj).entries);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Arrays.hashCode(this.entries);
|
|
}
|
|
|
|
public String toString() {
|
|
String valueOf = String.valueOf(Arrays.toString(this.entries));
|
|
return valueOf.length() != 0 ? "entries=".concat(valueOf) : new String("entries=");
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeInt(this.entries.length);
|
|
for (Entry entry : this.entries) {
|
|
parcel.writeParcelable(entry, 0);
|
|
}
|
|
}
|
|
}
|