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: I250db727c9775cf8edb7f0eb6db765852a7d348d
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:05:14 +00:00 committed by Automerger Merge Worker
commit 96caa8fd8c
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