am caabc81f: Merge "Notify a Bitmap is has changed when calling copyPixelFromBuffer"

* commit 'caabc81f0fb50770eee13a78b20b81c00c87d83b':
  Notify a Bitmap is has changed when calling copyPixelFromBuffer
This commit is contained in:
Romain Guy
2011-10-18 17:58:26 -07:00
committed by Android Git Automerger

View File

@@ -579,6 +579,7 @@ static void Bitmap_copyPixelsFromBuffer(JNIEnv* env, jobject,
android::AutoBufferPointer abp(env, jbuffer, JNI_FALSE);
// the java side has already checked that buffer is large enough
memcpy(dst, abp.pointer(), bitmap->getSize());
bitmap->notifyPixelsChanged();
}
}