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

Commit 228793a0 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

Change-Id: Ifc4c1ada0299b430a74d98d05b9331182adf0933
parents 54c56de8 4ff3c278
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;