diff options
author | Phil Weaver <pweaver@google.com> | 2017-06-01 09:05:25 -0700 |
---|---|---|
committer | Phil Weaver <pweaver@google.com> | 2017-06-02 15:40:39 -0700 |
commit | 6aef793180d37e992906a56e9cecf782e5e3b716 (patch) | |
tree | be6c204b4015cec9d1d4e7da2657bcb181d6aaa8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | df99c779fa6d6ec428957145aa0348ed3bcbadce (diff) |
Protect a11y against multi-threaded UIs
It seems that the accessibility event dispatch is very
susceptible to multi-threaded UIs. This CL tries to handle
that situation gracefully. I'm thinking in P I can throw
an exception when events are dispatched on the wrong
thread, but it seems late to introduce such a behavior in O.
Bug: 62201606
Test: Ran a11y cts and unit tests.
Change-Id: I50b857667d8c3ae51a085afb15acefccbef4b762
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions