Add SYS_NICE capabilities

[ Merge of http://go/wvgerrit/132983 and http://go/ag/15407954 ]

This allows OEMs to raise the priority of the widevine drm service to
help with decrypt performance for high resolution/frame rate content.
Changes in a future version should help reduce the need to raise the
priority.

Change suggested by Amlogic.

Bug: 194152960
Test: GtsMediaTestCases
Change-Id: I04f4258c6fc7391827573037ff8ae1a58922ce6d
This commit is contained in:
Rahul Frias
2021-07-28 11:18:43 -07:00
parent e083486fe4
commit b00728fc4e
2 changed files with 2 additions and 0 deletions

View File

@@ -26,3 +26,4 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
capabilities SYS_NICE

View File

@@ -24,3 +24,4 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
capabilities SYS_NICE