From 236507606d3a754b89c0c049d217b4049ce1e35c Mon Sep 17 00:00:00 2001 From: malikakash Date: Mon, 7 Aug 2023 18:40:09 +0000 Subject: [PATCH] Associate vendor_pcs_app with PCS services - :* will associate the context with the individual services, which might start in their own processes. Bug: 280340307 Test: m Change-Id: I0cc183ae07f18a2fc8e3c2caf960654296eeab53 --- camera/sepolicy/seapp_contexts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camera/sepolicy/seapp_contexts b/camera/sepolicy/seapp_contexts index f956929..e78385e 100644 --- a/camera/sepolicy/seapp_contexts +++ b/camera/sepolicy/seapp_contexts @@ -5,3 +5,5 @@ user=system seinfo=platform name=com.google.pixel.camera.services:* domain=vendo # Pixel Camera Services user=_app seinfo=CameraServices name=com.google.android.apps.camera.services domain=vendor_pcs_app type=app_data_file levelFrom=all +# The :* will allow all services, which run in their own processes, to use the same vendor_pcs_app domain. +user=_app seinfo=CameraServices name=com.google.android.apps.camera.services:* domain=vendor_pcs_app type=app_data_file levelFrom=all