am 437e9cc3: Merge "Adjust buffer position after copying" into jb-mr1-dev
* commit '437e9cc388da5e289f38172c6164e7ad7962272b': Adjust buffer position after copying
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user