Files
frameworks_base/core/java/android
Keisuke Kuroyanagi 17b0bda4db Fix: TextView makes new layouts too frequently.
TextView#checkForRelayout was almost always called in
TextView#onRtlPropertiesChanged.
However, #onRtlPropertiesChanged just checks if re-layout
can be skipped for when the text has changed. As a result,
TextView makes new layouts too frequently in that method.

With this patch, TextView#checkForRelayout is called only
when mTextDir has actually changed.

Bug: 17971103
Change-Id: I449d8c8fd7370495cd5af9e38cada942744ca801
2015-06-19 15:24:07 +09:00
..
2015-06-10 22:17:49 -07:00
2015-06-11 09:19:37 -07:00
2015-06-12 16:34:38 +00:00