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

Commit 4a123c4d authored by Romain Guy's avatar Romain Guy
Browse files

Allow bitmap filtering on NinePatchDrawable.

There's no reason to not allow it anymore.

Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
parent 32b2698a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -214,10 +214,8 @@ public class NinePatchDrawable extends Drawable {

    @Override
    public void setFilterBitmap(boolean filter) {
        // at the moment, we see no quality improvement, but a big slowdown
        // with filtering, so ignore this call for now
        //
        //getPaint().setFilterBitmap(filter);
        getPaint().setFilterBitmap(filter);
        invalidateSelf();
    }

    @Override