Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20600164 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 6cebd663 3aa24eb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);