diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-07-09 15:51:16 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2018-07-09 16:50:28 -0700 |
commit | 6565c0dbe4c5cf96aa1c2576974b0f464b2db6cd (patch) | |
tree | 5de00aeae835b10ce3845dfe6224bd5f47a508d4 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 50621368c8d16a8f02982e8335c7a8d170809722 (diff) |
MediaSessionRecord: protect adjustVolume from SecurityException
Take into account that all methods that end up calling
AudioService.adjustStreamVolume(...) can throw a
SecurityException when the caller doesn't have the right
permission to change the DnD mode.
Bug: 110525559
Test: none yet
Change-Id: I4622a07ea8be2ce03fb9732796a08f671a17b45d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions