Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86f599c2 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

clearkey: 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: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: I07678ad6a0491228b8879d199ecd2cb13bfe51ff
parent 10058d06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ service vendor.drm-clearkey-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-serv
    user media
    group media mediadrm
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh
+1 −1
Original line number Diff line number Diff line
@@ -10,4 +10,4 @@ service vendor.drm-clearkey-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-serv
    user media
    group media mediadrm
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh
+1 −1
Original line number Diff line number Diff line
@@ -13,4 +13,4 @@ service vendor.drm-clearkey-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
    user media
    group media mediadrm
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh
+1 −1
Original line number Diff line number Diff line
@@ -11,4 +11,4 @@ service vendor.drm-clearkey-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
    user media
    group media mediadrm
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh
+1 −1
Original line number Diff line number Diff line
@@ -15,4 +15,4 @@ service vendor.drm-clearkey-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-serv
    user media
    group media mediadrm
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh
Loading