Add audioserver uid and restart service when needed
Bug: 24511453 Change-Id: I6987a82149d23ad671478cf21488c62cb1ecfc93
This commit is contained in:
parent
cc84af6946
commit
fec47527b4
|
@ -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, },
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue