am ea4e76f6: Merge "Fix finalizer ordering/double-free issue" into lmp-mr1-dev

* commit 'ea4e76f68a60a02e175755d22e88894f11282850':
  Fix finalizer ordering/double-free issue
This commit is contained in:
John Reck
2014-11-07 19:35:48 +00:00
committed by Android Git Automerger

View File

@@ -604,15 +604,6 @@ public class Surface implements Parcelable {
mHwuiRenderer = 0;
}
}
@Override
protected void finalize() throws Throwable {
try {
destroy();
} finally {
super.finalize();
}
}
}
private static native long nHwuiCreate(long rootNode, long surface);