blob: 6e453be364aa0f0aa685038a18cda027889e0426 [file] [log] [blame]
## for SDK releases 29..31
## where writepid has not yet been replaced by task_profiles
##
#
# media.transcoding service is defined on com.android.media apex which goes back
# to API29, but we only want it started on API31+ devices. So we declare it as
# "disabled" and start it explicitly on boot.
service media.transcoding /apex/com.android.media/bin/mediatranscoding
class main
user media
group media
ioprio rt 4
# Restrict to little cores only with system-background cpuset.
writepid /dev/cpuset/system-background/tasks
interface aidl media.transcoding
disabled