Loading core/java/android/widget/TextView.java +3 −1 Original line number Diff line number Diff line Loading @@ -4870,8 +4870,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener @Override public boolean hasOverlappingRendering() { // horizontal fading edge causes SaveLayerAlpha, which doesn't support alpha modulation return ((getBackground() != null && getBackground().getCurrent() != null) || mText instanceof Spannable || hasSelection()); || mText instanceof Spannable || hasSelection() || isHorizontalFadingEdgeEnabled()); } /** Loading Loading
core/java/android/widget/TextView.java +3 −1 Original line number Diff line number Diff line Loading @@ -4870,8 +4870,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener @Override public boolean hasOverlappingRendering() { // horizontal fading edge causes SaveLayerAlpha, which doesn't support alpha modulation return ((getBackground() != null && getBackground().getCurrent() != null) || mText instanceof Spannable || hasSelection()); || mText instanceof Spannable || hasSelection() || isHorizontalFadingEdgeEnabled()); } /** Loading