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

Commit 6e66725e authored by Shih-wei Liao's avatar Shih-wei Liao
Browse files

Fix the false-alarm bug when we skip to the end, which should be OK.

Fix the bug b/4540617.

Change-Id: I64a77b8c5d89bcd35f81d196928a671c954e9a28
parent 94686349
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ public class FieldPacker {

    public void skip(int i) {
        int res = mPos + i;
        if ((res < 0) || (res >= mLen)) {
        if ((res < 0) || (res > mLen)) {
            throw new RSIllegalArgumentException("out of range argument: " + i);
        }
        mPos = res;