on android platform, I kill an application(for example Launcher) at shell by command: kill -9 pid, the proccess is killed. then after a second , the apk be restarted.
Anyone know which module restart the apk? where is the code?
Note: I debug ActivityManagerService. Seemed someone startActivity to restart Launcher. But I do not know who call startActivity command.
Thanks in advance