commit | 867c6d2786d6e8df059309f207b9dff2e4b7c46e | [log] [tgz] |
---|---|---|
author | sallyyuen <sallyyuen@google.com> | Wed Apr 15 13:46:39 2020 -0700 |
committer | sallyyuen <sallyyuen@google.com> | Mon Apr 20 12:21:21 2020 -0700 |
tree | efd67106336ba55ae77b224dfdbce3418c672101 | |
parent | 53e927f890f08d7916ccf1ae2afeb2624561d107 [diff] |
Support sending KEYCODE_HEADSETHOOK KeyEvent from an a11y service Add a private global action to be made public in S. A service can trigger the event by calling performGlobalAction(10) in R. Note: Currently 10 is being used by SystemActions for the Accessibility shortcut. Update ag/10921262 to avoid a conflict. Bug: 154038741 Test: Tested with modified TalkBack and Youtube play/pause Change-Id: I3ca5d25948bfb3eb8520030484cb466ec7188784