13b1877b77
1) restart thermalservice if servicemanager dies 2) restart zygote if thermalservice dies as we don't have death notifier registered for this native service 3) set to foreground task for thermalservice to speed the callback Fixes: 118495176 Bug: 113037689 Bug: 118509057 Test: kill and see service restarts Change-Id: I50785592a19b7a667a4f1ff42bc9ea218e81f758
18 lines
557 B
Text
18 lines
557 B
Text
service servicemanager /system/bin/servicemanager
|
|
class core animation
|
|
user system
|
|
group system readproc
|
|
critical
|
|
onrestart restart healthd
|
|
onrestart restart zygote
|
|
onrestart restart audioserver
|
|
onrestart restart media
|
|
onrestart restart surfaceflinger
|
|
onrestart restart inputflinger
|
|
onrestart restart drm
|
|
onrestart restart cameraserver
|
|
onrestart restart keystore
|
|
onrestart restart gatekeeperd
|
|
onrestart restart thermalservice
|
|
writepid /dev/cpuset/system-background/tasks
|
|
shutdown critical
|