summaryrefslogtreecommitdiff
path: root/cmds/bootanimation
diff options
context:
space:
mode:
author Suren Baghdasaryan <surenb@google.com> 2020-04-30 15:33:35 -0700
committer Suren Baghdasaryan <surenb@google.com> 2020-05-03 08:12:10 +0000
commitaeae048088acbea279550bd9404dd78e76637735 (patch)
tree33ca47eeb1e891a47d973c0ef590ab3105e078c4 /cmds/bootanimation
parent248896bf982c7748592f603d87d34f7ddc3de96d (diff)
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 <surenb@google.com> Change-Id: I05f5a082c7e6f43ab94330aede29967e91d1aef9 Merged-In: I05f5a082c7e6f43ab94330aede29967e91d1aef9
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r--cmds/bootanimation/bootanim.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/bootanim.rc b/cmds/bootanimation/bootanim.rc
index 9f4f314a4324..ad4de0ab737a 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