From 10afb4ad5ad46b03100d2d7bee42b0bbd6623177 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Thu, 24 Mar 2022 17:09:16 +0000 Subject: [PATCH] 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 Change-Id: I23dab5cbd92dd51b600b7c7879f94ad1f5707208 --- tv/tuner/aidl/default/tuner-default.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv/tuner/aidl/default/tuner-default.rc b/tv/tuner/aidl/default/tuner-default.rc index d0248c2216..661c219ffa 100644 --- a/tv/tuner/aidl/default/tuner-default.rc +++ b/tv/tuner/aidl/default/tuner-default.rc @@ -3,5 +3,5 @@ service vendor.tuner-default /vendor/bin/hw/android.hardware.tv.tuner-service.ex user media group mediadrm drmrpc ioprio rt 4 - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh onrestart restart media.tuner