summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author RoboErik <epastern@google.com> 2014-07-08 16:47:31 -0700
committer Erik Pasternak <roboerik@android.com> 2014-07-10 16:15:45 +0000
commit3c45c29109d23981d8b707c809b3b43ce2e20fc3 (patch)
tree4a090eb5fd97700fbcdfc6046ae620c292c62511 /libs/hwui/Program.cpp
parentb5ef7f8c6d4629b2998de6c0b27bc1a4779b3e49 (diff)
Pipe volume keys to adjustVolume instead of sendMediaKeyEvent
We were calling sendMediaKeyEvent with a KEYCODE_VOLUME key, which was being ignored because it's not a media key. This redirects the volume keys to use the adjustVolume methods instead. It also sends the appropriate flags to make the lock screen consistent with the home screen and the volume keys only affect active playback when the screen is off. bug:15900519 Change-Id: I9f3853a2385869353a58debae6e6ca9933ba06ce
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions