summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2017-05-12 17:37:57 +0900
committerJaewan Kim <jaewan@google.com>2017-05-12 18:05:10 +0900
commitba18d8ed0ebdeae2b6903527900ade6b4d7364c0 (patch)
tree0b50cbeb51d9e6eb5e849b3448663943dc9ee28b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent972b2c236ef005eb24cc01719ec4469dba517f74 (diff)
Launch voice assistant by the KEYCODE_MEDIA_PLAY_PAUSE
Android's headset spec is update to deprecate the KEYCODE_HEADSETHOOK, and the KEYCODE_MEDIA_PLAY_PAUSE will be used instead. So we need to launch voice assistant by both the KEYCODE_MEDIA_PLAY_PAUSE and the KEYCODE_HEADSETHOOK. See following docucument for the details https://source.android.com/devices/accessories/headset/usb-headset-spec#software-mapping Bug: 36575213 Test: Manual test (injects long press of the KEYCODE_MEDIA_PLAY_PAUSE and confirmed that it launches voice activity) Change-Id: I3dc2500ca5bb3d9d0ba3104246a19b84e731b46f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions