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

Commit 3aa8710c authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android Git Automerger
Browse files

am f31e4abd: am 3895007d: am bbc6e33b: Merge "Adds back the finalize method on...

am f31e4abd: am 3895007d: am bbc6e33b: Merge "Adds back the finalize method on the replaced Paint class." into froyo
parents 52a28b25 f31e4abd
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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();