Rewind buffer before copying into it.
b/7334897 Change-Id: I83f795cb662d0845314bfb80b9a27ae45b2a0517
This commit is contained in:
@@ -3831,6 +3831,7 @@ class MediaArtistNativeHelper {
|
||||
outWidth, outHeight, Bitmap.Config.ARGB_8888);
|
||||
|
||||
// Copy int[] to IntBuffer
|
||||
decBuffer.rewind();
|
||||
decBuffer.put(decArray, 0, thumbnailSize);
|
||||
decBuffer.rewind();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user