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:
Chih-Chung Chang
2010-08-20 03:56:33 -07:00
committed by Android Git Automerger

View File

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