diff options
author | Hyundo Moon <hdmoon@google.com> | 2017-09-18 17:01:48 +0900 |
---|---|---|
committer | Hyundo Moon <hdmoon@google.com> | 2017-09-21 05:05:17 +0000 |
commit | 739d6c23d36b95f2ac5e466a119829384fcfd4e4 (patch) | |
tree | ee4681bbebc63fca6bbad6066875d9e8017cc761 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 204346c2777ec2bac8744b235c94c91a807f5e23 (diff) |
Prevent system crash when adjusting volume with illegal direction
The system process crashes when any of below methods is called with
illegal direction argument:
- MediaController.adjustVolume()
- AudioManager.adjustVolume()
- AudioManager.adjustSuggestedStreamVolume()
This CL fixes the crash.
Bug: 65755677
Test: Added test methods to CTS. Passed the tests.
Change-Id: I2fbf0459465c75e515110e1300630bda15e4a19e
(cherry picked from commit 153613263e5afbfa8f73717b5e903b4f2a6f7298)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions