summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authoryingleiw <yingleiw@google.com>2020-08-27 14:54:30 -0700
committerYinglei Wang <yingleiw@google.com>2020-09-08 19:15:19 +0000
commit8e36f0a26e27eb70198d9518ba091c34c328dab8 (patch)
tree7bf9d3bb73a8d79d59c6421cb3652fbf1b0c3235 /tools/aapt2/java/JavaClassGenerator.cpp
parent71f959be7ea231dbcbc012990734259fe289a0ee (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 (cherry picked from commit fc9d9b800f0d2b39b42a82b5f6b88abd5f712228)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions