Skip to content
Snippets Groups Projects
Commit 897473dc authored by Chad Brubaker's avatar Chad Brubaker Committed by android-build-merger
Browse files

Merge "Add media services to ephemeral_app" into oc-dev

am: 3ad5c9e7

Change-Id: I41a829460d932c30e564060fceb9169a7443014f
parents a6dc0dc2 3ad5c9e7
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,13 @@ app_domain(ephemeral_app) ...@@ -20,6 +20,13 @@ app_domain(ephemeral_app)
allow ephemeral_app { sdcard_type media_rw_data_file }:file {read write getattr ioctl lock append}; allow ephemeral_app { sdcard_type media_rw_data_file }:file {read write getattr ioctl lock append};
# services # services
allow ephemeral_app audioserver_service:service_manager find;
allow ephemeral_app cameraserver_service:service_manager find;
allow ephemeral_app mediaserver_service:service_manager find;
allow ephemeral_app mediaextractor_service:service_manager find;
allow ephemeral_app mediacodec_service:service_manager find;
allow ephemeral_app mediametrics_service:service_manager find;
allow ephemeral_app mediacasserver_service:service_manager find;
allow ephemeral_app surfaceflinger_service:service_manager find; allow ephemeral_app surfaceflinger_service:service_manager find;
allow ephemeral_app radio_service:service_manager find; allow ephemeral_app radio_service:service_manager find;
allow ephemeral_app ephemeral_app_api_service:service_manager find; allow ephemeral_app ephemeral_app_api_service:service_manager find;
......
### ###
### Untrusted_app_all. ### Untrusted_app_all.
### ###
### This file defines the rules shared by all untrusted app domains. ### This file defines the rules shared by all untrusted app domains except
### ephemeral apps.
### Apps are labeled based on mac_permissions.xml (maps signer and ### Apps are labeled based on mac_permissions.xml (maps signer and
### optionally package name to seinfo value) and seapp_contexts (maps UID ### optionally package name to seinfo value) and seapp_contexts (maps UID
### and optionally seinfo value to domain for process and type for data ### and optionally seinfo value to domain for process and type for data
......
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