device_google_gs201/whitechapel_pro/platform_app.te
Ken Yang b3bbcd4554 WLC: Cleanup the sysfs_wlc policies
The sepolicy must be self-contained without including wirelss_charger to
avoid build break in AOSP

Bug: 263830018
Change-Id: Ib3e36c9bb4b3048ce97592c3f68260035a32239d
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-13 14:41:12 +00:00

23 lines
829 B
Text

binder_call(platform_app, rild)
allow platform_app hal_exynos_rild_hwservice:hwservice_manager find;
allow platform_app hal_pixel_display_service:service_manager find;
allow platform_app hal_wlc_hwservice:hwservice_manager find;
allow platform_app nfc_service:service_manager find;
allow platform_app proc_vendor_sched:dir r_dir_perms;
allow platform_app proc_vendor_sched:file w_file_perms;
# Fingerprint (UDFPS) GHBM/LHBM toggle
get_prop(platform_app, fingerprint_ghbm_prop)
# allow systemui to set boot animation colors
set_prop(platform_app, bootanim_system_prop);
binder_call(platform_app, hal_wlc)
# allow udfps of systemui access lhbm
binder_call(platform_app, hal_graphics_composer_default)
# WLC
allow platform_app hal_wireless_charger_service:service_manager find;
binder_call(platform_app, hal_wireless_charger)