summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-06-13 20:21:47 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-06-13 20:26:48 -0700
commitd8058ca556bc999a10b3da2008b1cc97856f75cc (patch)
tree0830cb60d12d13c2de4bdfc55a45f8a6141b466d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4365d066e8beed17b61ba51c728d60a9baa499be (diff)
AccessibilityInjector should return false on a failed action.
1. AccessibilityInjector was returning true even if the underlying JavaScript was not loaded/failed. This may lead to TalkBack getting stuck in a web view. To avoid this TalkBack requires gran1ularity change when getting into web view. This is neither advertised nor shown in the tutorial and which is worse it is inconsistent with the traversal of the app. Now if the action fails, false is returned and also the timeout for handling the action request is increased to 5s. Upon the completion of this timeout TalkBack may decide to show a wait dialog or just skip the web content. We are treating this as an ANR. bug:6663344 Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions