Robert Shih | b7d71b6 | 2019-11-17 19:11:07 -0800 | [diff] [blame] | 1 | on property:init.svc.media=* |
| 2 | setprop init.svc.mediadrm ${init.svc.media} |
| 3 | |
Tom Cherry | c6dd768 | 2015-08-14 13:01:03 -0700 | [diff] [blame] | 4 | service media /system/bin/mediaserver |
| 5 | class main |
| 6 | user media |
| 7 | group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc mediadrm |
| 8 | ioprio rt 4 |
Suren Baghdasaryan | 6ec7273 | 2020-04-30 14:39:39 -0700 | [diff] [blame] | 9 | task_profiles ProcessCapacityHigh HighPerformance |
Chong Zhang | a2e3a04 | 2020-10-26 11:58:11 -0700 | [diff] [blame] | 10 | |
| 11 | # media.transcoding service is defined on com.android.media apex which goes back |
| 12 | # to API29, but we only want it started on API31+ devices. So we declare it as |
| 13 | # "disabled" and start it explicitly on boot. |
| 14 | on boot |
| 15 | start media.transcoding |