OSDN Git Service

Add warning if an in-use Bitmap is reconfigured
authorJohn Reck <jreck@google.com>
Wed, 6 May 2015 21:55:05 +0000 (14:55 -0700)
committerJohn Reck <jreck@google.com>
Wed, 6 May 2015 22:30:16 +0000 (15:30 -0700)
commitae2e8b4891491e8e89bed5f2c9626415adee09cb
tree13904c288c850c7bdc6d3fa3e38f1a477763d40e
parentfbb34dd8df7bc89ae972c545130e76c5bbb4176e
Add warning if an in-use Bitmap is reconfigured

Bug: 18928352

Also fix an issue around re-configure not properly handling
mPinnedCount in android::Bitmap

Change-Id: I1815b121f1474ad931060771bb1d52ef31d2aac7
core/jni/android/graphics/Bitmap.cpp
core/jni/android/graphics/Bitmap.h
core/jni/android/graphics/BitmapFactory.cpp
core/jni/android/graphics/Graphics.cpp
core/jni/android/graphics/GraphicsJNI.h
core/jni/android_view_SurfaceControl.cpp
native/graphics/jni/bitmap.cpp