Does Android Process.killProcess(pid) kill just process or whole Application? -


in android can use process.killprocess(pid) kill process.

however if have multiple main processes in application defined in manifest using android:process="com.some.name" kill of them or 1 call made?

from docs process.killprocess(pid) does

kill process given pid. note that, though api allows request kill process based on pid, kernel still impose standard restrictions on pids able kill. typically means process running caller's packages/application , additional processes created app; packages sharing common uid able kill each other's processes.

if kill main process others live becoming orphan process


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -