summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-08-29 18:14:09 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2014-09-02 10:38:27 -0700
commit4a4fea0752c8edd33d680765e97ee3b538d777a5 (patch)
treef925c637f933f05392dc49fc956da166bf372603 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc5258433dd353769ccfa2e5e769a7379378a3a0b (diff)
Restore permission check for mic muting
The implementation for AudioManager.setMicrophoneMute() used to call directly into AudioSystem which called directly into AudioFlinger and the mediaserver process, where the check for the MODIFY_AUDIO_SETTINGS is performed. A regression was introduced by Ib32138bcc256cfbac4fe21a090d5ba34f5c641fc which calls first into AudioService which runs in system_process before calling into AudioSystem, which granted the permission. This CL adds a permission check in this code path when calling AudioService. Bug 17259652 Change-Id: I4ac5269262eb90df80ee81db6ec3d96977ee53be
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions