Merge "Revert "Don't recycle native bitmap after the finalizer is called."" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
72ecb00a89
@ -1002,7 +1002,6 @@ 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