diff options
| author | Hyundo Moon <hdmoon@google.com> | 2017-09-18 17:01:48 +0900 |
|---|---|---|
| committer | Hyundo Moon <hdmoon@google.com> | 2017-09-19 13:27:01 +0900 |
| commit | 153613263e5afbfa8f73717b5e903b4f2a6f7298 (patch) | |
| tree | 23084fef8d0362ff4ee042635c81aba386973c0c /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 99f37420b247fa94911b07bdfcb6ea7496603ecb (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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
