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

Commit b6c4f6cd authored by Derek Sollenberger's avatar Derek Sollenberger Committed by Android (Google) Code Review
Browse files

Merge "TextView setOverlappingRendering must be true when shadows are used."

parents b1d24c0a d4ca6d1c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6973,7 +6973,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
    public boolean hasOverlappingRendering() {
        // horizontal fading edge causes SaveLayerAlpha, which doesn't support alpha modulation
        return ((getBackground() != null && getBackground().getCurrent() != null)
                || mSpannable != null || hasSelection() || isHorizontalFadingEdgeEnabled());
                || mSpannable != null || hasSelection() || isHorizontalFadingEdgeEnabled()
                || mShadowColor != 0);
    }

    /**