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

Commit 91d7b4f3 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 0419ebaf: am 450b713e: am 437e9cc3: Merge "Adjust buffer position after copying" into jb-mr1-dev

* commit '0419ebaf':
  Adjust buffer position after copying
parents 22808eef 0419ebaf
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -413,6 +413,11 @@ public final class Bitmap implements Parcelable {
        }
        }


        nativeCopyPixelsFromBuffer(mNativeBitmap, src);
        nativeCopyPixelsFromBuffer(mNativeBitmap, src);

        // now update the buffer's position
        int position = src.position();
        position += bitmapBytes >> shift;
        src.position(position);
    }
    }


    /**
    /**