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:
commit
96caa8fd8c
3
touch/touchinspector/sepolicy/file.te
Normal file
3
touch/touchinspector/sepolicy/file.te
Normal file
@ -0,0 +1,3 @@
|
||||
userdebug_or_eng(`
|
||||
typeattribute proc_touch mlstrustedobject;
|
||||
')
|
9
touch/touchinspector/sepolicy/google_touch_app.te
Normal file
9
touch/touchinspector/sepolicy/google_touch_app.te
Normal 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;
|
||||
')
|
2
touch/touchinspector/sepolicy/seapp_contexts
Normal file
2
touch/touchinspector/sepolicy/seapp_contexts
Normal 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
|
3
touch/touchinspector/touchinspector.mk
Normal file
3
touch/touchinspector/touchinspector.mk
Normal file
@ -0,0 +1,3 @@
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/touchinspector/sepolicy
|
||||
|
||||
PRODUCT_PACKAGES_DEBUG += TouchInspector
|
Loading…
x
Reference in New Issue
Block a user