biometrics: Replace writepid with task_profiles command for cgroup migration

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: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
This commit is contained in:
Suren Baghdasaryan 2021-06-17 18:42:44 -07:00 committed by Michael Bestas
parent 4741364594
commit 61d531a22f
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -6,4 +6,4 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.
class late_start class late_start
user system user system
group system input uhid group system input uhid
writepid /dev/cpuset/system-background/tasks task_profiles ServiceCapacityLow