Merge "Revert "Don't recycle native bitmap after the finalizer is called."" into gingerbread

This commit is contained in:
Chih-Chung Chang
2010-08-22 04:23:51 -07:00
committed by Android (Google) Code Review

View File

@ -1002,7 +1002,6 @@ public final class Bitmap implements Parcelable {
@Override @Override
protected void finalize() throws Throwable { protected void finalize() throws Throwable {
try { try {
mRecycled = true;
nativeDestructor(mNativeBitmap); nativeDestructor(mNativeBitmap);
} finally { } finally {
super.finalize(); super.finalize();