summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authoryingleiw <yingleiw@google.com>2020-08-27 14:54:30 -0700
committeryingleiw <yingleiw@google.com>2020-08-31 13:03:18 -0700
commitfc9d9b800f0d2b39b42a82b5f6b88abd5f712228 (patch)
tree00ff9e2723679ccedfa82bb081067066549ef382 /rs/java/android/renderscript/ProgramStore.java
parent42572552f9d47d7301cc96648527a9b50745c842 (diff)
Add accessibility manager enabled check in progressbar
formatStateDescription() in onProgressRefresh() is causing performance degradation with accessibility off. Note that stateDescription is set in onInitializeAccessibilityNodeInfo to ensure that accessibility always get the update-to-date stateDescription. Otherwise, stateDescription might be stale on first accessibility focus and the user might get wrong information. Fix: b/166215147 Test: tested with talkback enabled from the beginning or from the middle. Change-Id: I9fb99b479b172d87c8d0fa1b8765dab53445b993
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions