diff --git a/sepolicy/vendor/fairphone_camera_app.te b/sepolicy/vendor/fairphone_camera_app.te new file mode 100644 index 0000000000000000000000000000000000000000..6fd3c352951023b615439a499650b14c46a40253 --- /dev/null +++ b/sepolicy/vendor/fairphone_camera_app.te @@ -0,0 +1,15 @@ +type fairphone_camera_app, domain; + +typeattribute fairphone_camera_app coredomain; +app_domain(fairphone_camera_app) + +userdebug_or_eng(` + permissive fairphone_camera_app; +') + +allow fairphone_camera_app app_api_service:service_manager find; +allow fairphone_camera_app audioserver_service:service_manager find; +allow fairphone_camera_app cameraserver_service:service_manager find; +allow fairphone_camera_app mediaextractor_service:service_manager find; +allow fairphone_camera_app mediametrics_service:service_manager find; +allow fairphone_camera_app mediaserver_service:service_manager find; diff --git a/sepolicy/vendor/seapp_contexts b/sepolicy/vendor/seapp_contexts new file mode 100644 index 0000000000000000000000000000000000000000..b768cf1126d5cbadd5ea2a5535118fa152fbc1e7 --- /dev/null +++ b/sepolicy/vendor/seapp_contexts @@ -0,0 +1,2 @@ +# FPCamera +user=_app isPrivApp=true seinfo=platform name=com.fp.camera domain=fairphone_camera_app type=app_data_file levelFrom=all