mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Move vendor policy to vendor and add a place for system extensions. Also add such an extension: a labeling of the qti.ims.ext service. Bug: 38151691 Bug: 62041272 Test: Policy binary identical before and after, except plat_service_contexts has new service added. Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f
9 lines
384 B
Plaintext
9 lines
384 B
Plaintext
r_dir_file(hal_vibrator_default, sysfs_leds)
|
|
allow hal_vibrator_default sysfs_leds:file w_file_perms;
|
|
allow hal_vibrator_default sysfs_msm_subsys:file rw_file_perms;
|
|
allow hal_vibrator_default sysfs_msm_subsys:dir search;
|
|
|
|
# read-only permission to obtain the calibration data
|
|
r_dir_file(hal_vibrator_default, persist_haptics_file)
|
|
allow hal_vibrator_default persist_file:dir search;
|