Replace sys_nice capability with rlimit rtprio

rlimit rtprio is more specific and thus preferred.

Test: HubConnection thread get rtprio in sailfish
Bug: 37291237
Change-Id: I3c7a06cb2964dc3ccb4c3f6fcb4eb33561296af1
This commit is contained in:
Peng Xu 2017-10-05 14:58:08 -07:00
parent 9960148420
commit db1ad9a8a9

View file

@ -2,4 +2,5 @@ service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
class hal
user system
group system wakelock
capabilities BLOCK_SUSPEND SYS_NICE
capabilities BLOCK_SUSPEND
rlimit rtprio 10 10