mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix nullness issue
PiperOrigin-RevId: 227822937
This commit is contained in:
parent
ed1f41db1b
commit
5efbcb4443
@ -19,6 +19,7 @@ import android.os.Parcel;
|
|||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
import android.support.annotation.Nullable;
|
import android.support.annotation.Nullable;
|
||||||
import com.google.android.exoplayer2.metadata.Metadata;
|
import com.google.android.exoplayer2.metadata.Metadata;
|
||||||
|
import com.google.android.exoplayer2.util.Util;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -45,7 +46,7 @@ public final class MdtaMetadataEntry implements Metadata.Entry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private MdtaMetadataEntry(Parcel in) {
|
private MdtaMetadataEntry(Parcel in) {
|
||||||
key = in.readString();
|
key = Util.castNonNull(in.readString());
|
||||||
value = new byte[in.readInt()];
|
value = new byte[in.readInt()];
|
||||||
in.readByteArray(value);
|
in.readByteArray(value);
|
||||||
localeIndicator = in.readInt();
|
localeIndicator = in.readInt();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user