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

* commit '437e9cc388da5e289f38172c6164e7ad7962272b':
  Adjust buffer position after copying
This commit is contained in:
Marco Nelissen
2012-10-10 08:34:00 -07:00
committed by Android Git Automerger

View File

@@ -413,6 +413,11 @@ public final class Bitmap implements Parcelable {
}
nativeCopyPixelsFromBuffer(mNativeBitmap, src);
// now update the buffer's position
int position = src.position();
position += bitmapBytes >> shift;
src.position(position);
}
/**