OSDN Git Service

Remove stale temporary ASEC containers
[android-x86/frameworks-base.git] / tools / layoutlib / bridge / src / android / graphics / Paint.java
index 2d03618..619ab30 100644 (file)
@@ -208,6 +208,12 @@ public class Paint extends _Original_Paint {
         this(0);
     }
 
+    /*
+     * Do not remove or com.android.layoutlib.bridge.TestClassReplacement fails.
+     */
+    @Override
+    public void finalize() { }
+
     public Paint(int flags) {
         setFlags(flags | DEFAULT_PAINT_FLAGS);
         initFont();
@@ -219,11 +225,6 @@ public class Paint extends _Original_Paint {
     }
 
     @Override
-    public void finalize() throws Throwable {
-        // pass
-    }
-
-    @Override
     public void reset() {
         super.reset();
     }