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

Commit bbc6e33b authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android (Google) Code Review
Browse files

Merge "Adds back the finalize method on the replaced Paint class." into froyo

parents 37d2f5d1 c56653bf
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();