- 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
76 lines
2.9 KiB
Java
76 lines
2.9 KiB
Java
package com.google.android.exoplayer2.metadata.id3;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.exoplayer2.util.Util;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class ApicFrame extends Id3Frame {
|
|
public static final Parcelable.Creator<ApicFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.ApicFrame.1
|
|
@Override // android.os.Parcelable.Creator
|
|
public ApicFrame createFromParcel(Parcel parcel) {
|
|
return new ApicFrame(parcel);
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public ApicFrame[] newArray(int i) {
|
|
return new ApicFrame[i];
|
|
}
|
|
};
|
|
public final String description;
|
|
public final String mimeType;
|
|
public final byte[] pictureData;
|
|
public final int pictureType;
|
|
|
|
public ApicFrame(Parcel parcel) {
|
|
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.ApicFrame.ID);
|
|
this.mimeType = (String) Util.castNonNull(parcel.readString());
|
|
this.description = parcel.readString();
|
|
this.pictureType = parcel.readInt();
|
|
this.pictureData = (byte[]) Util.castNonNull(parcel.createByteArray());
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || ApicFrame.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
ApicFrame apicFrame = (ApicFrame) obj;
|
|
return this.pictureType == apicFrame.pictureType && Util.areEqual(this.mimeType, apicFrame.mimeType) && Util.areEqual(this.description, apicFrame.description) && Arrays.equals(this.pictureData, apicFrame.pictureData);
|
|
}
|
|
|
|
public int hashCode() {
|
|
int i = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.pictureType) * 31;
|
|
String str = this.mimeType;
|
|
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.description;
|
|
return ((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + Arrays.hashCode(this.pictureData);
|
|
}
|
|
|
|
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
|
|
public String toString() {
|
|
String str = this.id;
|
|
String str2 = this.mimeType;
|
|
String str3 = this.description;
|
|
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 25 + String.valueOf(str2).length() + String.valueOf(str3).length());
|
|
sb.append(str);
|
|
sb.append(": mimeType=");
|
|
sb.append(str2);
|
|
sb.append(", description=");
|
|
sb.append(str3);
|
|
return sb.toString();
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel parcel, int i) {
|
|
parcel.writeString(this.mimeType);
|
|
parcel.writeString(this.description);
|
|
parcel.writeInt(this.pictureType);
|
|
parcel.writeByteArray(this.pictureData);
|
|
}
|
|
}
|