Merge "Add SEPolicy allowing GIA to communicate with Suez service" into main
This commit is contained in:
commit
5468ea3a18
2 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
# GIA is not designed for AOSP
|
# When not AOSP target
|
||||||
ifeq (,$(filter aosp_%, $(TARGET_PRODUCT)))
|
ifeq (,$(filter aosp_%, $(TARGET_PRODUCT)))
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy
|
||||||
|
|
||||||
# If Pixel System Service exists, allow it to access GIA
|
# When not factory target
|
||||||
ifeq (,$(filter factory_%, $(TARGET_PRODUCT)))
|
ifeq (,$(filter factory_%, $(TARGET_PRODUCT)))
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy-pixelsystemservice
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy-pixelsystemservice
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -16,3 +16,7 @@ hal_server_domain(gia, hal_gia)
|
||||||
# allow gia for accessing touch related system file-nodes
|
# allow gia for accessing touch related system file-nodes
|
||||||
allow gia sysfs_touch_gti:dir r_dir_perms;
|
allow gia sysfs_touch_gti:dir r_dir_perms;
|
||||||
allow gia sysfs_touch_gti:file rw_file_perms;
|
allow gia sysfs_touch_gti:file rw_file_perms;
|
||||||
|
|
||||||
|
# allow gia for collecting device stats
|
||||||
|
allow gia fwk_stats_service:service_manager find;
|
||||||
|
binder_call(gia, stats_service_server);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue