am dc2eabd1: Merge "Don\'t recycle native bitmap after the finalizer is called." into gingerbread
Merge commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828' into gingerbread-plus-aosp * commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828': Don't recycle native bitmap after the finalizer is called.
This commit is contained in:
@@ -1002,6 +1002,7 @@ public final class Bitmap implements Parcelable {
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
mRecycled = true;
|
||||
nativeDestructor(mNativeBitmap);
|
||||
} finally {
|
||||
super.finalize();
|
||||
|
||||
Reference in New Issue
Block a user