commit | ab2d9315d169a7129c5d1284e91393edd32650bd | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Mar 13 15:33:39 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Mar 14 00:26:16 2017 +0000 |
tree | f2280390e352ca0cfc161d6173f85aa11c474526 | |
parent | 10dd69794b2b6704acdb24a54224a4089aec11f9 [diff] |
Permission enforcement for A11y volume changes Make modifying the STREAM_ACCESSIBILITY volume conditional to have the BIND_ACCESSIBILITY_SERVICE permission. Add BIND_ACCESSIBILITY_SERVICE permission to sysUI. Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioManagerTest#testAccessibilityVolume Bug: 34379420 Bug: 30448020 Change-Id: I9f26affccd953bd8473d06822857edf92fef4ba8