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

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22961317

Change-Id: Id80cb7f73eb1f62a43a9323bc7b4620a1b99fd97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Yen-Chao Chen 2023-05-03 07:09:33 +00:00 committed by Automerger Merge Worker
commit 5638b408f2
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