summaryrefslogtreecommitdiff
path: root/apex/mediatranscoding.rc
blob: 6e453be364aa0f0aa685038a18cda027889e0426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
##  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