mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Fix nullness issue
PiperOrigin-RevId: 227822937
This commit is contained in:
parent
ed1f41db1b
commit
5efbcb4443
1 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ import android.os.Parcel;
|
|||
import android.os.Parcelable;
|
||||
import android.support.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.metadata.Metadata;
|
||||
import com.google.android.exoplayer2.util.Util;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
|
|
@ -45,7 +46,7 @@ public final class MdtaMetadataEntry implements Metadata.Entry {
|
|||
}
|
||||
|
||||
private MdtaMetadataEntry(Parcel in) {
|
||||
key = in.readString();
|
||||
key = Util.castNonNull(in.readString());
|
||||
value = new byte[in.readInt()];
|
||||
in.readByteArray(value);
|
||||
localeIndicator = in.readInt();
|
||||
|
|
|
|||
Loading…
Reference in a new issue