Start processes that need real-time with CAP_SYS_NICE.
Bug: 37293077 Test: verified CAP_SYS_NICE granted in /proc/pid/status Change-Id: If404450cbeb077d331b231bda1af2d6eae774b75
This commit is contained in:
parent
eca8d114bf
commit
f9b3fb49df
3 changed files with 4 additions and 1 deletions
|
@ -3,4 +3,5 @@ service camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-
|
|||
user cameraserver
|
||||
group audio camera input drmrpc
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
|
||||
capabilities SYS_NICE
|
||||
writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
|
||||
|
|
|
@ -2,4 +2,5 @@ service gralloc-2-0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0-servi
|
|||
class hal animation
|
||||
user system
|
||||
group graphics drmrpc
|
||||
capabilities SYS_NICE
|
||||
onrestart restart surfaceflinger
|
||||
|
|
|
@ -2,3 +2,4 @@ service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
|
|||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities SYS_NICE
|
||||
|
|
Loading…
Reference in a new issue