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

Commit 3966e89c authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Track BufferIterator changes in libcore" am: 021e8ff2 am: 4ff3c278 am: 228793a0

am: 28c9cd63

Change-Id: Ie08fb740f1c8683cdef7115937f448918cd29a4d
parents 37437b7a 28c9cd63
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ public class BridgeBufferIterator extends BufferIterator {
        mByteBuffer.position(offset);
    }

    @Override
    public int pos() {
        return mByteBuffer.position();
    }

    @Override
    public void skip(int byteCount) {
        int newPosition = mByteBuffer.position() + byteCount;