Snap for 11479893 from 2ce657ec4f905873024eb998de7e86653c780b70 to 24Q2-release
Change-Id: I6229a0de9c09eb4b788139f9da4304b8f42f168a
This commit is contained in:
commit
b5291f486f
@ -32,3 +32,6 @@ wakelock_use(hal_contexthub_default)
|
||||
|
||||
# Allow context hub HAL to block suspend, which is required to use EPOLLWAKEUP
|
||||
allow hal_contexthub_default self:global_capability2_class_set block_suspend;
|
||||
|
||||
# Allow binder calls with clients
|
||||
binder_call(hal_contexthub_default, hal_sensors_default)
|
||||
|
5
gyotaku_app/dump/gyotaku_app.te
Normal file
5
gyotaku_app/dump/gyotaku_app.te
Normal file
@ -0,0 +1,5 @@
|
||||
userdebug_or_eng(`
|
||||
# For access /data/vendor/gyotaku folder
|
||||
allow gyotaku_app gyotaku_vendor_data_file:dir create_dir_perms;
|
||||
allow gyotaku_app gyotaku_vendor_data_file:file create_file_perms;
|
||||
')
|
@ -63,6 +63,11 @@ unix_socket_connect(hal_sensors_default, chre, chre)
|
||||
## TODO(b/248615564): Remove above rule after CHRE multiclient HAL is launched.
|
||||
unix_socket_connect(hal_sensors_default, chre, hal_contexthub_default)
|
||||
|
||||
# Allow access to CHRE multiclient HAL.
|
||||
get_prop(hal_sensors_default, vendor_chre_hal_prop)
|
||||
binder_call(hal_sensors_default, hal_contexthub_default)
|
||||
allow hal_sensors_default hal_contexthub_service:service_manager find;
|
||||
|
||||
|
||||
# Allow access to the power supply files for MagCC.
|
||||
r_dir_file(hal_sensors_default, sysfs_batteryinfo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user