OSDN Git Service

Don't verify the scrollbar drawable
authorAlan Viverette <alanv@google.com>
Thu, 14 Jan 2016 21:06:36 +0000 (16:06 -0500)
committerAlan Viverette <alanv@google.com>
Thu, 14 Jan 2016 21:07:13 +0000 (21:07 +0000)
commita53c3b2197b73d5b6a697ae2077e04065df84d9e
tree73b1a673dfab10c5e923fbb914fb885e1bc56283
parente41a6c8b19482a05a98e77d13281f7f14056f119
Don't verify the scrollbar drawable

Avoids infinite invalidations caused by re-use of scrollbar drawable
during a single draw() pass. Does not address the general problem of
drawable reuse causing unnecessary invalidations as a result of calls
to setBounds() invoking invalidateSelf().

Bug: 26533725
Change-Id: I99e9c2dfe4ddfc833569e40e7268dcb03e931fc9
core/java/android/view/View.java