From 6acfa351a21ac2f26552fbb15d6ae97542fa0f56 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Thu, 30 Apr 2020 15:33:35 -0700 Subject: [PATCH] Replace direct pid writes with setting task profiles For easy transition from SchedTune to UtilClamp, direct access to these cgroups should be abstracted by using task profiles. Replace writepid commands with new task_profiles command. Bug: 155419956 Test: change .rc file and confirm task profile is applied Signed-off-by: Suren Baghdasaryan Change-Id: I05f5a082c7e6f43ab94330aede29967e91d1aef9 --- cmds/bootanimation/bootanim.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/bootanimation/bootanim.rc b/cmds/bootanimation/bootanim.rc index 9f4f314a4324d..ad4de0ab737a8 100644 --- a/cmds/bootanimation/bootanim.rc +++ b/cmds/bootanimation/bootanim.rc @@ -5,4 +5,4 @@ service bootanim /system/bin/bootanimation disabled oneshot ioprio rt 0 - writepid /dev/stune/top-app/tasks + task_profiles MaxPerformance