Merge "Fix a bug: unable to start activity when AM is killing the process."
This commit is contained in:
@@ -1050,7 +1050,7 @@ public final class ActivityStackSupervisor {
|
|||||||
|
|
||||||
r.task.stack.setLaunchTime(r);
|
r.task.stack.setLaunchTime(r);
|
||||||
|
|
||||||
if (app != null && app.thread != null) {
|
if (app != null && app.thread != null && !app.killedByAm) {
|
||||||
try {
|
try {
|
||||||
if ((r.info.flags&ActivityInfo.FLAG_MULTIPROCESS) == 0
|
if ((r.info.flags&ActivityInfo.FLAG_MULTIPROCESS) == 0
|
||||||
|| !"android".equals(r.info.packageName)) {
|
|| !"android".equals(r.info.packageName)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user