diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 473114308..a256b66e2 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -82,6 +82,7 @@ #define AID_DBUS 1038 /* dbus-daemon IPC broker process */ #define AID_TLSDATE 1039 /* tlsdate unprivileged user */ #define AID_MEDIA_EX 1040 /* mediaextractor process */ +#define AID_AUDIOSERVER 1041 /* audioserver process */ #define AID_SHELL 2000 /* adb and debug shell user */ #define AID_CACHE 2001 /* cache access */ @@ -180,6 +181,7 @@ static const struct android_id_info android_ids[] = { { "dbus", AID_DBUS, }, { "tlsdate", AID_TLSDATE, }, { "mediaex", AID_MEDIA_EX, }, + { "audioserver", AID_AUDIOSERVER, }, { "shell", AID_SHELL, }, { "cache", AID_CACHE, }, diff --git a/rootdir/init.zygote32.rc b/rootdir/init.zygote32.rc index ff25ac227..7c81344c9 100644 --- a/rootdir/init.zygote32.rc +++ b/rootdir/init.zygote32.rc @@ -3,6 +3,7 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys socket zygote stream 660 root system onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on + onrestart restart audioserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc index 29bb1cf2e..256520226 100644 --- a/rootdir/init.zygote32_64.rc +++ b/rootdir/init.zygote32_64.rc @@ -3,6 +3,7 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s socket zygote stream 660 root system onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on + onrestart restart audioserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks diff --git a/rootdir/init.zygote64.rc b/rootdir/init.zygote64.rc index 5497524e4..58ebfb91c 100644 --- a/rootdir/init.zygote64.rc +++ b/rootdir/init.zygote64.rc @@ -3,6 +3,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s socket zygote stream 660 root system onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on + onrestart restart audioserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc index 8ed5e9ee8..917a40255 100644 --- a/rootdir/init.zygote64_32.rc +++ b/rootdir/init.zygote64_32.rc @@ -3,6 +3,7 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s socket zygote stream 660 root system onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on + onrestart restart audioserver onrestart restart media onrestart restart netd writepid /dev/cpuset/foreground/tasks