Merge "MediaPlayer2: fix argument offset for ByteString.copyTo"
This commit is contained in:
committed by
Android (Google) Code Review
commit
206001641e
@@ -3673,7 +3673,7 @@ public final class MediaPlayer2Impl extends MediaPlayer2 {
|
||||
supportedSchemes = new UUID[supportedDRMsCount];
|
||||
for (int i = 0; i < supportedDRMsCount; i++) {
|
||||
byte[] uuid = new byte[16];
|
||||
in.next().getBytesValue().copyTo(uuid, uuid.length);
|
||||
in.next().getBytesValue().copyTo(uuid, 0);
|
||||
|
||||
supportedSchemes[i] = bytesToUUID(uuid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user