Add support for MIDI service

Change-Id: If7241659a8252d65187673f0d8e87150d5dfb72d
This commit is contained in:
Mike Lockwood 2014-11-14 15:25:18 -08:00
parent a6a6d0484a
commit fba17fd2f4
2 changed files with 4 additions and 1 deletions

View file

@ -66,6 +66,7 @@ media_projection u:object_r:system_server_service:s0
media_router u:object_r:system_server_service:s0
media_session u:object_r:system_server_service:s0
meminfo u:object_r:system_server_service:s0
midi u:object_r:system_server_service:s0
mount u:object_r:system_server_service:s0
netpolicy u:object_r:system_server_service:s0
netstats u:object_r:system_server_service:s0

View file

@ -169,7 +169,9 @@ allow system_server video_device:dir r_dir_perms;
allow system_server video_device:chr_file rw_file_perms;
allow system_server adbd_socket:sock_file rw_file_perms;
allow system_server audio_device:dir r_dir_perms;
allow system_server audio_device:chr_file r_file_perms;
# write access needed for MIDI
allow system_server audio_device:chr_file rw_file_perms;
# tun device used for 3rd party vpn apps
allow system_server tun_device:chr_file rw_file_perms;