1## for SDK releases 29..31 2## where writepid has not yet been replaced by task_profiles 3## 4# 5# media.transcoding service is defined on com.android.media apex which goes back 6# to API29, but we only want it started on API31+ devices. So we declare it as 7# "disabled" and start it explicitly on boot. 8service media.transcoding /apex/com.android.media/bin/mediatranscoding 9 class main 10 user media 11 group media 12 ioprio rt 4 13 # Restrict to little cores only with system-background cpuset. 14 writepid /dev/cpuset/system-background/tasks 15 interface aidl media.transcoding 16 disabled 17