diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-04-15 12:41:05 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-04-17 19:12:47 -0700 |
commit | a7880d4bb7784c1b72def92a6b7a7aaf489b3971 (patch) | |
tree | edd7c84430e187a49c1dc6ced7c79aa43a0b5c8c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 57af565fb79c006522261fc211b078d2a5efd331 (diff) |
Vol key presses: active stream has priority of set control stream
When deciding which volume stream is to be controlled by key
presses, give priority to the stream that is actually playing,
unless the user has selected a another volume to be controlled
by the key presses.
Test: play some music over headset, pause, go to home screen.
Press vol up, it changes ringer volume, immediately press play
and press vol up again, it should now change music volume
(and UI updates to indicate that).
Bug: 33355229
Change-Id: Ibad9b59a692e1c6375487b739c55fdbf07f107dd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions