summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAmy <amyjojo@google.com>2019-06-13 15:06:15 -0700
committerAmy Zhang <amyjojo@google.com>2019-07-02 20:09:16 +0000
commit94cdf3a2b5db2a177f068bcf833b6480f1959daf (patch)
treea6aab64ead723542d90ecfad5e0e5a74e221c370 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb4d7700e7c340d1b93e1c5bef955612986b9c437 (diff)
Use sendVolumeKeyEvent API instead of sendKeyEvent API
sendKeyEvent API always forwards the key control to the TV. But for volume keys, we want it to be forwarded to the audio system if system audio mode is on and if we are not a audio system itself. sendVolumeKeyEvent can handle this logic. Test: manual Bug: 129116245 Change-Id: I6b81072ab49c092fac65cd542c19e611fc939cea (cherry picked from commit ada40f59b63fe613448278a7cfbb7055146f8ccd)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions