CrackMe.apk
Download file
package com.google.android.exoplayer2;
import android.net.Uri;
import android.os.Bundle;
import com.google.android.exoplayer2.Bundleable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.google.common.base.Objects;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.Arrays;
import java.util.List;
public final class MediaMetadata implements Bundleable {
public static final Bundleable.Creator<MediaMetadata> CREATOR = MediaMetadata$$ExternalSyntheticLambda0.INSTANCE;
public static final MediaMetadata EMPTY = new Builder().build();
private static final int FIELD_ALBUM_ARTIST = 3;
private static final int FIELD_ALBUM_TITLE = 2;
private static final int FIELD_ARTIST = 1;
private static final int FIELD_ARTWORK_DATA = 10;
private static final int FIELD_ARTWORK_DATA_TYPE = 29;
private static final int FIELD_ARTWORK_URI = 11;
private static final int FIELD_COMPILATION = 28;
private static final int FIELD_COMPOSER = 23;
private static final int FIELD_CONDUCTOR = 24;
private static final int FIELD_DESCRIPTION = 6;
private static final int FIELD_DISC_NUMBER = 25;
private static final int FIELD_DISPLAY_TITLE = 4;
private static final int FIELD_EXTRAS = 1000;
private static final int FIELD_FOLDER_TYPE = 14;
private static final int FIELD_GENRE = 27;
private static final int FIELD_IS_PLAYABLE = 15;
private static final int FIELD_MEDIA_URI = 7;
private static final int FIELD_OVERALL_RATING = 9;
private static final int FIELD_RECORDING_DAY = 18;
private static final int FIELD_RECORDING_MONTH = 17;
private static final int FIELD_RECORDING_YEAR = 16;
private static final int FIELD_RELEASE_DAY = 21;
private static final int FIELD_RELEASE_MONTH = 20;
private static final int FIELD_RELEASE_YEAR = 19;
private static final int FIELD_STATION = 30;
private static final int FIELD_SUBTITLE = 5;
private static final int FIELD_TITLE = 0;
private static final int FIELD_TOTAL_DISC_COUNT = 26;
private static final int FIELD_TOTAL_TRACK_COUNT = 13;
private static final int FIELD_TRACK_NUMBER = 12;
private static final int FIELD_USER_RATING = 8;
private static final int FIELD_WRITER = 22;
public static final int FOLDER_TYPE_ALBUMS = 2;
public static final int FOLDER_TYPE_ARTISTS = 3;
public static final int FOLDER_TYPE_GENRES = 4;
public static final int FOLDER_TYPE_MIXED = 0;
public static final int FOLDER_TYPE_NONE = -1;
public static final int FOLDER_TYPE_PLAYLISTS = 5;
public static final int FOLDER_TYPE_TITLES = 1;
public static final int FOLDER_TYPE_YEARS = 6;
public static final int PICTURE_TYPE_ARTIST_PERFORMER = 8;
public static final int PICTURE_TYPE_A_BRIGHT_COLORED_FISH = 17;
public static final int PICTURE_TYPE_BACK_COVER = 4;
public static final int PICTURE_TYPE_BAND_ARTIST_LOGO = 19;
public static final int PICTURE_TYPE_BAND_ORCHESTRA = 10;
public static final int PICTURE_TYPE_COMPOSER = 11;
public static final int PICTURE_TYPE_CONDUCTOR = 9;
public static final int PICTURE_TYPE_DURING_PERFORMANCE = 15;
public static final int PICTURE_TYPE_DURING_RECORDING = 14;
public static final int PICTURE_TYPE_FILE_ICON = 1;
public static final int PICTURE_TYPE_FILE_ICON_OTHER = 2;
public static final int PICTURE_TYPE_FRONT_COVER = 3;
public static final int PICTURE_TYPE_ILLUSTRATION = 18;
public static final int PICTURE_TYPE_LEAD_ARTIST_PERFORMER = 7;
public static final int PICTURE_TYPE_LEAFLET_PAGE = 5;
public static final int PICTURE_TYPE_LYRICIST = 12;
public static final int PICTURE_TYPE_MEDIA = 6;
public static final int PICTURE_TYPE_MOVIE_VIDEO_SCREEN_CAPTURE = 16;
public static final int PICTURE_TYPE_OTHER = 0;
public static final int PICTURE_TYPE_PUBLISHER_STUDIO_LOGO = 20;
public static final int PICTURE_TYPE_RECORDING_LOCATION = 13;
public final CharSequence albumArtist;
public final CharSequence albumTitle;
public final CharSequence artist;
public final byte[] artworkData;
public final Integer artworkDataType;
public final Uri artworkUri;
public final CharSequence compilation;
public final CharSequence composer;
public final CharSequence conductor;
public final CharSequence description;
public final Integer discNumber;
public final CharSequence displayTitle;
public final Bundle extras;
public final Integer folderType;
public final CharSequence genre;
public final Boolean isPlayable;
public final Rating overallRating;
public final Integer recordingDay;
public final Integer recordingMonth;
public final Integer recordingYear;
public final Integer releaseDay;
public final Integer releaseMonth;
public final Integer releaseYear;
public final CharSequence station;
public final CharSequence subtitle;
public final CharSequence title;
public final Integer totalDiscCount;
public final Integer totalTrackCount;
public final Integer trackNumber;
public final Rating userRating;
public final CharSequence writer;
@Deprecated
public final Integer year;
@Documented
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE})
@Retention(RetentionPolicy.SOURCE)
public @interface FolderType {
}
@Documented
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE})
@Retention(RetentionPolicy.SOURCE)
public @interface PictureType {
}
public static final class Builder {
/* access modifiers changed from: private */
public CharSequence albumArtist;
/* access modifiers changed from: private */
public CharSequence albumTitle;
/* access modifiers changed from: private */
public CharSequence artist;
/* access modifiers changed from: private */
public byte[] artworkData;
/* access modifiers changed from: private */
public Integer artworkDataType;
/* access modifiers changed from: private */
public Uri artworkUri;
/* access modifiers changed from: private */
public CharSequence compilation;
/* access modifiers changed from: private */
public CharSequence composer;
/* access modifiers changed from: private */
public CharSequence conductor;
/* access modifiers changed from: private */
public CharSequence description;
/* access modifiers changed from: private */
public Integer discNumber;
/* access modifiers changed from: private */
public CharSequence displayTitle;
/* access modifiers changed from: private */
public Bundle extras;
/* access modifiers changed from: private */
public Integer folderType;
/* access modifiers changed from: private */
public CharSequence genre;
/* access modifiers changed from: private */
public Boolean isPlayable;
/* access modifiers changed from: private */
public Rating overallRating;
/* access modifiers changed from: private */
public Integer recordingDay;
/* access modifiers changed from: private */
public Integer recordingMonth;
/* access modifiers changed from: private */
public Integer recordingYear;
/* access modifiers changed from: private */
public Integer releaseDay;
/* access modifiers changed from: private */
public Integer releaseMonth;
/* access modifiers changed from: private */
public Integer releaseYear;
/* access modifiers changed from: private */
public CharSequence station;
/* access modifiers changed from: private */
public CharSequence subtitle;
/* access modifiers changed from: private */
public CharSequence title;
/* access modifiers changed from: private */
public Integer totalDiscCount;
/* access modifiers changed from: private */
public Integer totalTrackCount;
/* access modifiers changed from: private */
public Integer trackNumber;
/* access modifiers changed from: private */
public Rating userRating;
/* access modifiers changed from: private */
public CharSequence writer;
public Builder() {
}
private Builder(MediaMetadata mediaMetadata) {
this.title = mediaMetadata.title;
this.artist = mediaMetadata.artist;
this.albumTitle = mediaMetadata.albumTitle;
this.albumArtist = mediaMetadata.albumArtist;
this.displayTitle = mediaMetadata.displayTitle;
this.subtitle = mediaMetadata.subtitle;
this.description = mediaMetadata.description;
this.userRating = mediaMetadata.userRating;
this.overallRating = mediaMetadata.overallRating;
this.artworkData = mediaMetadata.artworkData;
this.artworkDataType = mediaMetadata.artworkDataType;
this.artworkUri = mediaMetadata.artworkUri;
this.trackNumber = mediaMetadata.trackNumber;
this.totalTrackCount = mediaMetadata.totalTrackCount;
this.folderType = mediaMetadata.folderType;
this.isPlayable = mediaMetadata.isPlayable;
this.recordingYear = mediaMetadata.recordingYear;
this.recordingMonth = mediaMetadata.recordingMonth;
this.recordingDay = mediaMetadata.recordingDay;
this.releaseYear = mediaMetadata.releaseYear;
this.releaseMonth = mediaMetadata.releaseMonth;
this.releaseDay = mediaMetadata.releaseDay;
this.writer = mediaMetadata.writer;
this.composer = mediaMetadata.composer;
this.conductor = mediaMetadata.conductor;
this.discNumber = mediaMetadata.discNumber;
this.totalDiscCount = mediaMetadata.totalDiscCount;
this.genre = mediaMetadata.genre;
this.compilation = mediaMetadata.compilation;
this.station = mediaMetadata.station;
this.extras = mediaMetadata.extras;
}
public Builder setTitle(CharSequence charSequence) {
this.title = charSequence;
return this;
}
public Builder setArtist(CharSequence charSequence) {
this.artist = charSequence;
return this;
}
public Builder setAlbumTitle(CharSequence charSequence) {
this.albumTitle = charSequence;
return this;
}
public Builder setAlbumArtist(CharSequence charSequence) {
this.albumArtist = charSequence;
return this;
}
public Builder setDisplayTitle(CharSequence charSequence) {
this.displayTitle = charSequence;
return this;
}
public Builder setSubtitle(CharSequence charSequence) {
this.subtitle = charSequence;
return this;
}
public Builder setDescription(CharSequence charSequence) {
this.description = charSequence;
return this;
}
public Builder setUserRating(Rating rating) {
this.userRating = rating;
return this;
}
public Builder setOverallRating(Rating rating) {
this.overallRating = rating;
return this;
}
@Deprecated
public Builder setArtworkData(byte[] bArr) {
return setArtworkData(bArr, (Integer) null);
}
public Builder setArtworkData(byte[] bArr, Integer num) {
this.artworkData = bArr == null ? null : (byte[]) bArr.clone();
this.artworkDataType = num;
return this;
}
public Builder maybeSetArtworkData(byte[] bArr, int i) {
if (this.artworkData == null || Util.areEqual(Integer.valueOf(i), 3) || !Util.areEqual(this.artworkDataType, 3)) {
this.artworkData = (byte[]) bArr.clone();
this.artworkDataType = Integer.valueOf(i);
}
return this;
}
public Builder setArtworkUri(Uri uri) {
this.artworkUri = uri;
return this;
}
public Builder setTrackNumber(Integer num) {
this.trackNumber = num;
return this;
}
public Builder setTotalTrackCount(Integer num) {
this.totalTrackCount = num;
return this;
}
public Builder setFolderType(Integer num) {
this.folderType = num;
return this;
}
public Builder setIsPlayable(Boolean bool) {
this.isPlayable = bool;
return this;
}
@Deprecated
public Builder setYear(Integer num) {
return setRecordingYear(num);
}
public Builder setRecordingYear(Integer num) {
this.recordingYear = num;
return this;
}
public Builder setRecordingMonth(Integer num) {
this.recordingMonth = num;
return this;
}
public Builder setRecordingDay(Integer num) {
this.recordingDay = num;
return this;
}
public Builder setReleaseYear(Integer num) {
this.releaseYear = num;
return this;
}
public Builder setReleaseMonth(Integer num) {
this.releaseMonth = num;
return this;
}
public Builder setReleaseDay(Integer num) {
this.releaseDay = num;
return this;
}
public Builder setWriter(CharSequence charSequence) {
this.writer = charSequence;
return this;
}
public Builder setComposer(CharSequence charSequence) {
this.composer = charSequence;
return this;
}
public Builder setConductor(CharSequence charSequence) {
this.conductor = charSequence;
return this;
}
public Builder setDiscNumber(Integer num) {
this.discNumber = num;
return this;
}
public Builder setTotalDiscCount(Integer num) {
this.totalDiscCount = num;
return this;
}
public Builder setGenre(CharSequence charSequence) {
this.genre = charSequence;
return this;
}
public Builder setCompilation(CharSequence charSequence) {
this.compilation = charSequence;
return this;
}
public Builder setStation(CharSequence charSequence) {
this.station = charSequence;
return this;
}
public Builder setExtras(Bundle bundle) {
this.extras = bundle;
return this;
}
public Builder populateFromMetadata(Metadata metadata) {
for (int i = 0; i < metadata.length(); i++) {
metadata.get(i).populateMediaMetadata(this);
}
return this;
}
public Builder populateFromMetadata(List<Metadata> list) {
for (int i = 0; i < list.size(); i++) {
Metadata metadata = list.get(i);
for (int i2 = 0; i2 < metadata.length(); i2++) {
metadata.get(i2).populateMediaMetadata(this);
}
}
return this;
}
public Builder populate(MediaMetadata mediaMetadata) {
if (mediaMetadata == null) {
return this;
}
if (mediaMetadata.title != null) {
setTitle(mediaMetadata.title);
}
if (mediaMetadata.artist != null) {
setArtist(mediaMetadata.artist);
}
if (mediaMetadata.albumTitle != null) {
setAlbumTitle(mediaMetadata.albumTitle);
}
if (mediaMetadata.albumArtist != null) {
setAlbumArtist(mediaMetadata.albumArtist);
}
if (mediaMetadata.displayTitle != null) {
setDisplayTitle(mediaMetadata.displayTitle);
}
if (mediaMetadata.subtitle != null) {
setSubtitle(mediaMetadata.subtitle);
}
if (mediaMetadata.description != null) {
setDescription(mediaMetadata.description);
}
if (mediaMetadata.userRating != null) {
setUserRating(mediaMetadata.userRating);
}
if (mediaMetadata.overallRating != null) {
setOverallRating(mediaMetadata.overallRating);
}
if (mediaMetadata.artworkData != null) {
setArtworkData(mediaMetadata.artworkData, mediaMetadata.artworkDataType);
}
if (mediaMetadata.artworkUri != null) {
setArtworkUri(mediaMetadata.artworkUri);
}
if (mediaMetadata.trackNumber != null) {
setTrackNumber(mediaMetadata.trackNumber);
}
if (mediaMetadata.totalTrackCount != null) {
setTotalTrackCount(mediaMetadata.totalTrackCount);
}
if (mediaMetadata.folderType != null) {
setFolderType(mediaMetadata.folderType);
}
if (mediaMetadata.isPlayable != null) {
setIsPlayable(mediaMetadata.isPlayable);
}
if (mediaMetadata.year != null) {
setRecordingYear(mediaMetadata.year);
}
if (mediaMetadata.recordingYear != null) {
setRecordingYear(mediaMetadata.recordingYear);
}
if (mediaMetadata.recordingMonth != null) {
setRecordingMonth(mediaMetadata.recordingMonth);
}
if (mediaMetadata.recordingDay != null) {
setRecordingDay(mediaMetadata.recordingDay);
}
if (mediaMetadata.releaseYear != null) {
setReleaseYear(mediaMetadata.releaseYear);
}
if (mediaMetadata.releaseMonth != null) {
setReleaseMonth(mediaMetadata.releaseMonth);
}
if (mediaMetadata.releaseDay != null) {
setReleaseDay(mediaMetadata.releaseDay);
}
if (mediaMetadata.writer != null) {
setWriter(mediaMetadata.writer);
}
if (mediaMetadata.composer != null) {
setComposer(mediaMetadata.composer);
}
if (mediaMetadata.conductor != null) {
setConductor(mediaMetadata.conductor);
}
if (mediaMetadata.discNumber != null) {
setDiscNumber(mediaMetadata.discNumber);
}
if (mediaMetadata.totalDiscCount != null) {
setTotalDiscCount(mediaMetadata.totalDiscCount);
}
if (mediaMetadata.genre != null) {
setGenre(mediaMetadata.genre);
}
if (mediaMetadata.compilation != null) {
setCompilation(mediaMetadata.compilation);
}
if (mediaMetadata.station != null) {
setStation(mediaMetadata.station);
}
if (mediaMetadata.extras != null) {
setExtras(mediaMetadata.extras);
}
return this;
}
public MediaMetadata build() {
return new MediaMetadata(this);
}
}
private MediaMetadata(Builder builder) {
this.title = builder.title;
this.artist = builder.artist;
this.albumTitle = builder.albumTitle;
this.albumArtist = builder.albumArtist;
this.displayTitle = builder.displayTitle;
this.subtitle = builder.subtitle;
this.description = builder.description;
this.userRating = builder.userRating;
this.overallRating = builder.overallRating;
this.artworkData = builder.artworkData;
this.artworkDataType = builder.artworkDataType;
this.artworkUri = builder.artworkUri;
this.trackNumber = builder.trackNumber;
this.totalTrackCount = builder.totalTrackCount;
this.folderType = builder.folderType;
this.isPlayable = builder.isPlayable;
this.year = builder.recordingYear;
this.recordingYear = builder.recordingYear;
this.recordingMonth = builder.recordingMonth;
this.recordingDay = builder.recordingDay;
this.releaseYear = builder.releaseYear;
this.releaseMonth = builder.releaseMonth;
this.releaseDay = builder.releaseDay;
this.writer = builder.writer;
this.composer = builder.composer;
this.conductor = builder.conductor;
this.discNumber = builder.discNumber;
this.totalDiscCount = builder.totalDiscCount;
this.genre = builder.genre;
this.compilation = builder.compilation;
this.station = builder.station;
this.extras = builder.extras;
}
public Builder buildUpon() {
return new Builder();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
MediaMetadata mediaMetadata = (MediaMetadata) obj;
if (!Util.areEqual(this.title, mediaMetadata.title) || !Util.areEqual(this.artist, mediaMetadata.artist) || !Util.areEqual(this.albumTitle, mediaMetadata.albumTitle) || !Util.areEqual(this.albumArtist, mediaMetadata.albumArtist) || !Util.areEqual(this.displayTitle, mediaMetadata.displayTitle) || !Util.areEqual(this.subtitle, mediaMetadata.subtitle) || !Util.areEqual(this.description, mediaMetadata.description) || !Util.areEqual(this.userRating, mediaMetadata.userRating) || !Util.areEqual(this.overallRating, mediaMetadata.overallRating) || !Arrays.equals(this.artworkData, mediaMetadata.artworkData) || !Util.areEqual(this.artworkDataType, mediaMetadata.artworkDataType) || !Util.areEqual(this.artworkUri, mediaMetadata.artworkUri) || !Util.areEqual(this.trackNumber, mediaMetadata.trackNumber) || !Util.areEqual(this.totalTrackCount, mediaMetadata.totalTrackCount) || !Util.areEqual(this.folderType, mediaMetadata.folderType) || !Util.areEqual(this.isPlayable, mediaMetadata.isPlayable) || !Util.areEqual(this.recordingYear, mediaMetadata.recordingYear) || !Util.areEqual(this.recordingMonth, mediaMetadata.recordingMonth) || !Util.areEqual(this.recordingDay, mediaMetadata.recordingDay) || !Util.areEqual(this.releaseYear, mediaMetadata.releaseYear) || !Util.areEqual(this.releaseMonth, mediaMetadata.releaseMonth) || !Util.areEqual(this.releaseDay, mediaMetadata.releaseDay) || !Util.areEqual(this.writer, mediaMetadata.writer) || !Util.areEqual(this.composer, mediaMetadata.composer) || !Util.areEqual(this.conductor, mediaMetadata.conductor) || !Util.areEqual(this.discNumber, mediaMetadata.discNumber) || !Util.areEqual(this.totalDiscCount, mediaMetadata.totalDiscCount) || !Util.areEqual(this.genre, mediaMetadata.genre) || !Util.areEqual(this.compilation, mediaMetadata.compilation) || !Util.areEqual(this.station, mediaMetadata.station)) {
return false;
}
return true;
}
public int hashCode() {
return Objects.hashCode(this.title, this.artist, this.albumTitle, this.albumArtist, this.displayTitle, this.subtitle, this.description, this.userRating, this.overallRating, Integer.valueOf(Arrays.hashCode(this.artworkData)), this.artworkDataType, this.artworkUri, this.trackNumber, this.totalTrackCount, this.folderType, this.isPlayable, this.recordingYear, this.recordingMonth, this.recordingDay, this.releaseYear, this.releaseMonth, this.releaseDay, this.writer, this.composer, this.conductor, this.discNumber, this.totalDiscCount, this.genre, this.compilation, this.station);
}
public Bundle toBundle() {
Bundle bundle = new Bundle();
bundle.putCharSequence(keyForField(0), this.title);
bundle.putCharSequence(keyForField(1), this.artist);
bundle.putCharSequence(keyForField(2), this.albumTitle);
bundle.putCharSequence(keyForField(3), this.albumArtist);
bundle.putCharSequence(keyForField(4), this.displayTitle);
bundle.putCharSequence(keyForField(5), this.subtitle);
bundle.putCharSequence(keyForField(6), this.description);
bundle.putByteArray(keyForField(10), this.artworkData);
bundle.putParcelable(keyForField(11), this.artworkUri);
bundle.putCharSequence(keyForField(22), this.writer);
bundle.putCharSequence(keyForField(23), this.composer);
bundle.putCharSequence(keyForField(24), this.conductor);
bundle.putCharSequence(keyForField(27), this.genre);
bundle.putCharSequence(keyForField(28), this.compilation);
bundle.putCharSequence(keyForField(30), this.station);
if (this.userRating != null) {
bundle.putBundle(keyForField(8), this.userRating.toBundle());
}
if (this.overallRating != null) {
bundle.putBundle(keyForField(9), this.overallRating.toBundle());
}
if (this.trackNumber != null) {
bundle.putInt(keyForField(12), this.trackNumber.intValue());
}
if (this.totalTrackCount != null) {
bundle.putInt(keyForField(13), this.totalTrackCount.intValue());
}
if (this.folderType != null) {
bundle.putInt(keyForField(14), this.folderType.intValue());
}
if (this.isPlayable != null) {
bundle.putBoolean(keyForField(15), this.isPlayable.booleanValue());
}
if (this.recordingYear != null) {
bundle.putInt(keyForField(16), this.recordingYear.intValue());
}
if (this.recordingMonth != null) {
bundle.putInt(keyForField(17), this.recordingMonth.intValue());
}
if (this.recordingDay != null) {
bundle.putInt(keyForField(18), this.recordingDay.intValue());
}
if (this.releaseYear != null) {
bundle.putInt(keyForField(19), this.releaseYear.intValue());
}
if (this.releaseMonth != null) {
bundle.putInt(keyForField(20), this.releaseMonth.intValue());
}
if (this.releaseDay != null) {
bundle.putInt(keyForField(21), this.releaseDay.intValue());
}
if (this.discNumber != null) {
bundle.putInt(keyForField(25), this.discNumber.intValue());
}
if (this.totalDiscCount != null) {
bundle.putInt(keyForField(26), this.totalDiscCount.intValue());
}
if (this.artworkDataType != null) {
bundle.putInt(keyForField(29), this.artworkDataType.intValue());
}
if (this.extras != null) {
bundle.putBundle(keyForField(1000), this.extras);
}
return bundle;
}
/* access modifiers changed from: private */
public static MediaMetadata fromBundle(Bundle bundle) {
Bundle bundle2;
Bundle bundle3;
Builder builder = new Builder();
builder.setTitle(bundle.getCharSequence(keyForField(0))).setArtist(bundle.getCharSequence(keyForField(1))).setAlbumTitle(bundle.getCharSequence(keyForField(2))).setAlbumArtist(bundle.getCharSequence(keyForField(3))).setDisplayTitle(bundle.getCharSequence(keyForField(4))).setSubtitle(bundle.getCharSequence(keyForField(5))).setDescription(bundle.getCharSequence(keyForField(6))).setArtworkData(bundle.getByteArray(keyForField(10)), bundle.containsKey(keyForField(29)) ? Integer.valueOf(bundle.getInt(keyForField(29))) : null).setArtworkUri((Uri) bundle.getParcelable(keyForField(11))).setWriter(bundle.getCharSequence(keyForField(22))).setComposer(bundle.getCharSequence(keyForField(23))).setConductor(bundle.getCharSequence(keyForField(24))).setGenre(bundle.getCharSequence(keyForField(27))).setCompilation(bundle.getCharSequence(keyForField(28))).setStation(bundle.getCharSequence(keyForField(30))).setExtras(bundle.getBundle(keyForField(1000)));
if (bundle.containsKey(keyForField(8)) && (bundle3 = bundle.getBundle(keyForField(8))) != null) {
builder.setUserRating(Rating.CREATOR.fromBundle(bundle3));
}
if (bundle.containsKey(keyForField(9)) && (bundle2 = bundle.getBundle(keyForField(9))) != null) {
builder.setOverallRating(Rating.CREATOR.fromBundle(bundle2));
}
if (bundle.containsKey(keyForField(12))) {
builder.setTrackNumber(Integer.valueOf(bundle.getInt(keyForField(12))));
}
if (bundle.containsKey(keyForField(13))) {
builder.setTotalTrackCount(Integer.valueOf(bundle.getInt(keyForField(13))));
}
if (bundle.containsKey(keyForField(14))) {
builder.setFolderType(Integer.valueOf(bundle.getInt(keyForField(14))));
}
if (bundle.containsKey(keyForField(15))) {
builder.setIsPlayable(Boolean.valueOf(bundle.getBoolean(keyForField(15))));
}
if (bundle.containsKey(keyForField(16))) {
builder.setRecordingYear(Integer.valueOf(bundle.getInt(keyForField(16))));
}
if (bundle.containsKey(keyForField(17))) {
builder.setRecordingMonth(Integer.valueOf(bundle.getInt(keyForField(17))));
}
if (bundle.containsKey(keyForField(18))) {
builder.setRecordingDay(Integer.valueOf(bundle.getInt(keyForField(18))));
}
if (bundle.containsKey(keyForField(19))) {
builder.setReleaseYear(Integer.valueOf(bundle.getInt(keyForField(19))));
}
if (bundle.containsKey(keyForField(20))) {
builder.setReleaseMonth(Integer.valueOf(bundle.getInt(keyForField(20))));
}
if (bundle.containsKey(keyForField(21))) {
builder.setReleaseDay(Integer.valueOf(bundle.getInt(keyForField(21))));
}
if (bundle.containsKey(keyForField(25))) {
builder.setDiscNumber(Integer.valueOf(bundle.getInt(keyForField(25))));
}
if (bundle.containsKey(keyForField(26))) {
builder.setTotalDiscCount(Integer.valueOf(bundle.getInt(keyForField(26))));
}
return builder.build();
}
private static String keyForField(int i) {
return Integer.toString(i, 36);
}
}
Download file