Skip to content
Snippets Groups Projects
Commit ef81102a authored by Tri Vo's avatar Tri Vo
Browse files

audioserver: add access to wake locks.

Bug: n/a
Test: audioserver is sucessfully able to acquire a wake lock
Change-Id: Ic3d3692eba2c1641ba3c9d8dc5f000f89105d752
parent 48764091
No related branches found
No related tags found
No related merge requests found
...@@ -86,3 +86,6 @@ neverallow audioserver { file_type fs_type }:file execute_no_trans; ...@@ -86,3 +86,6 @@ neverallow audioserver { file_type fs_type }:file execute_no_trans;
# Lengthier explanation here: # Lengthier explanation here:
# https://android-developers.googleblog.com/2016/05/hardening-media-stack.html # https://android-developers.googleblog.com/2016/05/hardening-media-stack.html
neverallow audioserver domain:{ tcp_socket udp_socket rawip_socket } *; neverallow audioserver domain:{ tcp_socket udp_socket rawip_socket } *;
# Allow using wake locks
wakelock_use(audioserver)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment