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

Commit 4ff3c278 authored by Neil Fuller's avatar Neil Fuller Committed by android-build-merger
Browse files

Merge "Track BufferIterator changes in libcore"

am: 021e8ff2

Change-Id: Id6cb26d1af8a3e35af52ae0f070fdab8a38c8e69
parents c715ea84 021e8ff2
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;