Merge "codec2: Replace writepid with task_profiles command for cgroup migration" am: 33e25e5f32 am: a929bcac03 am: 68387164c1 am: 74efe204b1 am: 97804c05da

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1878679

Change-Id: I17ddb75bdba63d1feab9b03d080cc654a202453b
diff --git a/media/codec2/hidl/services/android.hardware.media.c2@1.2-default-service.rc b/media/codec2/hidl/services/android.hardware.media.c2@1.2-default-service.rc
index 03f6e3d..12da593 100644
--- a/media/codec2/hidl/services/android.hardware.media.c2@1.2-default-service.rc
+++ b/media/codec2/hidl/services/android.hardware.media.c2@1.2-default-service.rc
@@ -3,5 +3,5 @@
     user mediacodec
     group camera mediadrm drmrpc
     ioprio rt 4
-    writepid /dev/cpuset/foreground/tasks
+    task_profiles ProcessCapacityHigh