]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Replace sys_nice capability with rlimit rtprio
authorPeng Xu <pengxu@google.com>
Thu, 5 Oct 2017 21:58:08 +0000 (14:58 -0700)
committerPeng Xu <pengxu@google.com>
Thu, 5 Oct 2017 22:03:56 +0000 (15:03 -0700)
rlimit rtprio is more specific and thus preferred.

Test: HubConnection thread get rtprio in sailfish
Bug: 37291237
Change-Id: I3c7a06cb2964dc3ccb4c3f6fcb4eb33561296af1

sensors/1.0/default/android.hardware.sensors@1.0-service.rc

index 6e78082bb93b38b71638fa72d4b7a9d605f81170..3e5d0f8933f9edcc96180c5f13c65c953cc9c819 100644 (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