Loading graphics/java/android/graphics/Canvas.java +5 −1 Original line number Diff line number Diff line Loading @@ -1404,8 +1404,12 @@ public class Canvas { protected void finalize() throws Throwable { super.finalize(); // If the constructor threw an exception before setting mNativeCanvas, the native finalizer // must not be invoked. if (mNativeCanvas != 0) { finalizer(mNativeCanvas); } } /** * Free up as much memory as possible from private caches (e.g. fonts, Loading Loading
graphics/java/android/graphics/Canvas.java +5 −1 Original line number Diff line number Diff line Loading @@ -1404,8 +1404,12 @@ public class Canvas { protected void finalize() throws Throwable { super.finalize(); // If the constructor threw an exception before setting mNativeCanvas, the native finalizer // must not be invoked. if (mNativeCanvas != 0) { finalizer(mNativeCanvas); } } /** * Free up as much memory as possible from private caches (e.g. fonts, Loading