diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2015-06-19 15:24:07 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2015-06-19 15:24:07 +0900 |
commit | 17b0bda4db04d0918df807786a2cd7addbdd4f25 (patch) | |
tree | 4b1b6d45699c2b15e8a59e5fdfd65fff0931103a /rs/java/android/renderscript/ScriptGroup.java | |
parent | 0463cad783e78381f390855d1cc9d7d8d803b634 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions