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: If3e351ff118ea4eb395f71a7e2e0ace5b62b77c0
11 lines
360 B
Plaintext
11 lines
360 B
Plaintext
on property:init.svc.mediadrm=running
|
|
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
|
|
|
service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service.widevine
|
|
interface aidl android.hardware.drm::IDrmFactory/widevine
|
|
class hal
|
|
user media
|
|
group media mediadrm drmrpc system
|
|
ioprio rt 4
|
|
task_profiles ProcessCapacityHigh
|