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

Commit 6beeb2eb authored by Chong Zhang's avatar Chong Zhang
Browse files

transcoding: use background io priority

bug: 183751395
test: unit tests; atest MediaTranscodeManagerTest
Change-Id: I1d74da88e1db8557f9d6940219e85a2d80d76809
parent 59b86d11
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ service media.transcoding /apex/com.android.media/bin/mediatranscoding
    group media
    ioprio rt 4
    # Restrict to little cores only with system-background cpuset.
    writepid /dev/cpuset/system-background/tasks
    # Lower IO priority to background.
    writepid /dev/cpuset/system-background/tasks /dev/blkio/background/tasks
    interface aidl media.transcoding
    disabled