Merge "Add SEPolicy allowing GIA to communicate with Suez service" into main

This commit is contained in:
Kai Hsieh 2025-01-20 02:32:35 -08:00 committed by Android (Google) Code Review
commit 5468ea3a18
2 changed files with 6 additions and 2 deletions

View file

@ -1,8 +1,8 @@
# GIA is not designed for AOSP
# When not AOSP target
ifeq (,$(filter aosp_%, $(TARGET_PRODUCT)))
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)))
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/input/gia/sepolicy-pixelsystemservice
endif

View file

@ -16,3 +16,7 @@ hal_server_domain(gia, hal_gia)
# allow gia for accessing touch related system file-nodes
allow gia sysfs_touch_gti:dir r_dir_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);