summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2016-07-14 15:11:09 -0700
committerPhil Weaver <pweaver@google.com>2016-07-19 16:44:28 -0700
commit890202bde486ca47ceb5daf4955038352384558e (patch)
tree7f6d17898e821a28a409c48fad170be2a6bbf950 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd7a59636b719c38230b1c6f03e44b462463781db (diff)
Suppress exceptions for corner-case a11y events.
Apps are told to query AccessibilityManager#isEnabled before calling sendAccessibilityEvent. If accessibility is disabled between the two calls, an app can crash. We can guarantee that this won't happen on a process's main thread, but guaranteeing it for all threads is messier. Rather than add the complexity of tracking the state for all threads, only log an error in the corner case that an accessibility event is requested on a thread that doesn't have the process's main looper. Bug: 28985452 Change-Id: I8369deefd83b0a6b04936ddfce55c53147756f1f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions