Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc2eabd1 authored by Chih-Chung Chang's avatar Chih-Chung Chang Committed by Android (Google) Code Review
Browse files

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

parents 271c1bfd 966803ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1002,6 +1002,7 @@ public final class Bitmap implements Parcelable {
    @Override
    protected void finalize() throws Throwable {
        try {
            mRecycled = true;
            nativeDestructor(mNativeBitmap);
        } finally {
            super.finalize();