diff --git a/pixelsystemservice/pixelsystemservice.mk b/pixelsystemservice/pixelsystemservice.mk new file mode 100644 index 0000000..fcabe89 --- /dev/null +++ b/pixelsystemservice/pixelsystemservice.mk @@ -0,0 +1,5 @@ +PRODUCT_SOONG_NAMESPACES += vendor/google/apps/PersistentBackgroundServices +PRODUCT_PACKAGES += \ + PersistentBackgroundServices + +BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/pixelsystemservice/sepolicy diff --git a/pixelsystemservice/sepolicy/pixelsystemservice_app.te b/pixelsystemservice/sepolicy/pixelsystemservice_app.te new file mode 100644 index 0000000..f120058 --- /dev/null +++ b/pixelsystemservice/sepolicy/pixelsystemservice_app.te @@ -0,0 +1,6 @@ +type pixelsystemservice_app, domain, coredomain; + +app_domain(pixelsystemservice_app); + +# Standard system services +allow pixelsystemservice_app app_api_service:service_manager find; diff --git a/pixelsystemservice/sepolicy/seapp_contexts b/pixelsystemservice/sepolicy/seapp_contexts new file mode 100644 index 0000000..f1c1262 --- /dev/null +++ b/pixelsystemservice/sepolicy/seapp_contexts @@ -0,0 +1,2 @@ +# Pixel System Service +user=_app seinfo=platform name=com.google.android.pixelsystemservice domain=pixelsystemservice_app type=app_data_file levelFrom=all