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

Commit 626c3169 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Display list invalidated on hint text change

Bug 5993119

Change-Id: I750e73cb5c26e2aaa2a88a80cf35c4d471c30403
parent 5f9d991b
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;
    }

    /**