Loading graphics/java/android/graphics/Bitmap.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } } /** /** Loading Loading
graphics/java/android/graphics/Bitmap.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -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); } } /** /** Loading