Allow mediaserver to access media_resource_monitor

Bug: 26175834
Change-Id: I49244f8e6165ea5a871955f07b3c4ea40cbd7c59
This commit is contained in:
Dongwon Kang 2015-12-15 14:19:21 +09:00
parent 39e29b6f29
commit e835c3f72c
2 changed files with 2 additions and 0 deletions

View file

@ -88,6 +88,7 @@ allow mediaserver batterystats_service:service_manager find;
allow mediaserver drmserver_service:service_manager find; allow mediaserver drmserver_service:service_manager find;
allow mediaserver mediaextractor_service:service_manager find; allow mediaserver mediaextractor_service:service_manager find;
allow mediaserver mediaserver_service:service_manager { add find }; allow mediaserver mediaserver_service:service_manager { add find };
allow mediaserver media_session_service:service_manager find;
allow mediaserver permission_service:service_manager find; allow mediaserver permission_service:service_manager find;
allow mediaserver power_service:service_manager find; allow mediaserver power_service:service_manager find;
allow mediaserver processinfo_service:service_manager find; allow mediaserver processinfo_service:service_manager find;

View file

@ -71,6 +71,7 @@ media.resource_manager u:object_r:mediaserver_service:s0
media.radio u:object_r:audioserver_service:s0 media.radio u:object_r:audioserver_service:s0
media.sound_trigger_hw u:object_r:audioserver_service:s0 media.sound_trigger_hw u:object_r:audioserver_service:s0
media_projection u:object_r:media_projection_service:s0 media_projection u:object_r:media_projection_service:s0
media_resource_monitor u:object_r:media_session_service:s0
media_router u:object_r:media_router_service:s0 media_router u:object_r:media_router_service:s0
media_session u:object_r:media_session_service:s0 media_session u:object_r:media_session_service:s0
meminfo u:object_r:meminfo_service:s0 meminfo u:object_r:meminfo_service:s0