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

Commit 3895007d authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android Git Automerger
Browse files

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

Merge commit 'bbc6e33b' into froyo-plus-aosp

* commit 'bbc6e33b':
  Adds back the finalize method on the replaced Paint class.
parents 6c099149 bbc6e33b
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();