Always invalidate TextView on checkForRelayout

Previously we would check whether relayout was required and optionally
invalidate; however, with partial layout we leave this work for the
makeNewLayout() method. We still need to manually invalidate, though,
since makeNewLayout() does not handle invalidation.

Bug: 25857300
Change-Id: I81ef9062c9fb4964d5e42a3562e6c782492ad65f
This commit is contained in:
Alan Viverette
2015-11-25 14:30:08 -05:00
committed by Raph Levien
parent e38bdf6bf7
commit 5ac42c92fa

View File

@@ -7225,6 +7225,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
// of the intended optimizations as part of requestLayoutForChild.
nullLayouts();
requestLayout();
invalidate();
}
@Override