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

Commit 9ae76313 authored by Gilles Debunne's avatar Gilles Debunne Committed by Android (Google) Code Review
Browse files

Merge "Display list invalidated on hint text change"

parents 870084d2 626c3169
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3472,6 +3472,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        if (mText.length() == 0) {
            invalidate();
        }

        // Invalidate display list if hint will be used
        if (mText.length() == 0 && mHint != null) mTextDisplayListIsValid = false;
    }

    /**