commit | 26d709fdfa473f1722b1ee08562262cb4cfeaaac | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Thu Apr 20 17:19:14 2017 -0700 |
committer | Phil Weaver <pweaver@google.com> | Fri Apr 21 09:24:40 2017 -0700 |
tree | 709a192b85519a502eb4f3c90250e4f94dd00751 | |
parent | 4a5ea54710b83666b455b3daff740c195f2b0277 [diff] |
Allow a11y listeners to specify handlers This follows recommended practice for listeners, and also allows ViewRootImpl to register for callbacks on its own handler, which can prevent crashes in apps that have different threads managing the UI at different times (for example the system process). Bug: 37542371 Test: Adding CTS tests for new APIs. A11y CTS still passes. Change-Id: I65db025275e153c20b20567346246d5bc13bf418