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

Commit e04a3811 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

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

parents 1a273646 14cd0653
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) {