OSDN Git Service

Always invalidate TextView on checkForRelayout
authorAlan Viverette <alanv@google.com>
Wed, 25 Nov 2015 19:30:08 +0000 (14:30 -0500)
committerRaph Levien <raph@google.com>
Mon, 30 Nov 2015 21:03:00 +0000 (13:03 -0800)
commit5ac42c92fa7241a260fde486f7535e2e0a1e38e9
tree180158b8b24f933bc79b6c32d6056712e1cf5ea7
parente38bdf6bf79ff8d536d6909ef0b595d6dc3d56ee
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
core/java/android/widget/TextView.java