Merge "touch: provide permission for TouchInspector app" into udc-d1-dev
This commit is contained in:
commit
76993da5d4
4 changed files with 17 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue