dd50b2f45d
writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Bug: 191283136 Test: build and boot Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
7 lines
261 B
Text
7 lines
261 B
Text
service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/android.hardware.sensors@2.1-service.multihal
|
|
class hal
|
|
user system
|
|
group system wakelock context_hub
|
|
task_profiles ServiceCapacityLow
|
|
capabilities BLOCK_SUSPEND
|
|
rlimit rtprio 10 10
|