Allow Bluetooth HAL CAP_SYS_NICE
The Bluetooth HAL has threads that process Bluetooth audio. They need to be scheduled as RT priority, so allow the Bluetooth HAL to set its threads to RT scheduling. Bug 37518404 Test: play Bluetooth audio, confirm priority via systrace Change-Id: I4928cf182a0805c0714e4d073cba15c864fbe328
This commit is contained in:
parent
5002a48cee
commit
e08303d8cf
|
@ -189,8 +189,10 @@ static const struct fs_path_config android_files[] = {
|
|||
CAP_MASK_LONG(CAP_NET_RAW),
|
||||
"system/bin/hostapd" },
|
||||
|
||||
/* Support Bluetooth legacy hal accessing /sys/class/rfkill */
|
||||
{ 00700, AID_BLUETOOTH, AID_BLUETOOTH, CAP_MASK_LONG(CAP_NET_ADMIN),
|
||||
/* Support Bluetooth legacy hal accessing /sys/class/rfkill
|
||||
* Support RT scheduling in Bluetooth */
|
||||
{ 00700, AID_BLUETOOTH, AID_BLUETOOTH, CAP_MASK_LONG(CAP_NET_ADMIN) |
|
||||
CAP_MASK_LONG(CAP_SYS_NICE),
|
||||
"vendor/bin/hw/android.hardware.bluetooth@1.0-service" },
|
||||
|
||||
/* Support wifi_hal_legacy administering a network interface. */
|
||||
|
|
Loading…
Reference in New Issue