commit | 3c45c29109d23981d8b707c809b3b43ce2e20fc3 | [log] [tgz] |
---|---|---|
author | RoboErik <epastern@google.com> | Tue Jul 08 16:47:31 2014 -0700 |
committer | Erik Pasternak <roboerik@android.com> | Thu Jul 10 16:15:45 2014 +0000 |
tree | 4a090eb5fd97700fbcdfc6046ae620c292c62511 | |
parent | b5ef7f8c6d4629b2998de6c0b27bc1a4779b3e49 [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