Merge "touch: provide permission for TouchInspector app" into udc-d1-dev

This commit is contained in:
Yen-Chao Chen 2023-05-03 06:26:14 +00:00 committed by Android (Google) Code Review
commit 76993da5d4
4 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,3 @@
userdebug_or_eng(`
typeattribute proc_touch mlstrustedobject;
')

View file

@ -0,0 +1,9 @@
type google_touch_app, domain;
userdebug_or_eng(`
app_domain(google_touch_app)
allow google_touch_app app_api_service:service_manager find;
allow google_touch_app proc_touch:file rw_file_perms;
')

View file

@ -0,0 +1,2 @@
# Touch app
user=_app seinfo=platform name=com.google.touch.touchinspector domain=google_touch_app type=app_data_file levelFrom=user

View file

@ -0,0 +1,3 @@
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/touchinspector/sepolicy
PRODUCT_PACKAGES_DEBUG += TouchInspector