commit | db1ad9a8a9281ead897c372f2d1cc9decd061b22 | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Thu Oct 05 14:58:08 2017 -0700 |
committer | Peng Xu <pengxu@google.com> | Thu Oct 05 15:03:56 2017 -0700 |
tree | 0cc293d0b0b335708fea2d7eb8011a70105ea12a | |
parent | 9960148420f352c1c0a8cd50e105dce6e6b09acf [diff] [blame] |
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
diff --git a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc index 6e78082..3e5d0f8 100644 --- a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc +++ b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
@@ -2,4 +2,5 @@ class hal user system group system wakelock - capabilities BLOCK_SUSPEND SYS_NICE + capabilities BLOCK_SUSPEND + rlimit rtprio 10 10