Merge "MediaPlayer2: fix argument offset for ByteString.copyTo"

This commit is contained in:
TreeHugger Robot
2018-10-03 00:46:21 +00:00
committed by Android (Google) Code Review

View File

@@ -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);