Allow SystemSuspend to call Bluetooth via binder

This allows the SystemSuspend to serve Bluetooth registered callbacks
for BTAA purpose.

Test: Local test verified registered callbacks been serviced
Bug: 170315554
Change-Id: I358b6732fdb663dcffd2647b6d6fa9727be5564e
This commit is contained in:
Michael Sun 2020-10-14 19:49:20 +00:00
parent df54a52135
commit 666992ecbb

View File

@ -16,6 +16,9 @@ r_dir_file(system_suspend, sysfs_wakeup)
# To resolve arbitrary sysfs paths from /sys/class/wakeup/* symlinks.
allow system_suspend sysfs_type:dir search;
# To call BTAA registered callbacks
allow system_suspend bluetooth:binder call;
neverallow {
domain
-atrace # tracing