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

Commit 14cd0653 authored by Romain Guy's avatar Romain Guy
Browse files

Temporarily disable fading edges if solidColor=0 and hw is on.

Change-Id: I430d8d4d00cbabc99644b98ea832460339c196d8
parent cbf16ebd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7738,7 +7738,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
        saveCount = canvas.getSaveCount();

        int solidColor = getSolidColor();
        if (solidColor == 0) {
        // TODO: Temporarily disable fading edges with hardware acceleration
        if (solidColor == 0 && !canvas.isHardwareAccelerated()) {
            final int flags = Canvas.HAS_ALPHA_LAYER_SAVE_FLAG;

            if (drawTop) {