am dc0afc91: Merge "Fix a bug: unable to start activity when AM is killing the process."
* commit 'dc0afc91c24c217705d6d430aa7fabbd22b6d2b3': 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);
|
||||
|
||||
if (app != null && app.thread != null) {
|
||||
if (app != null && app.thread != null && !app.killedByAm) {
|
||||
try {
|
||||
if ((r.info.flags&ActivityInfo.FLAG_MULTIPROCESS) == 0
|
||||
|| !"android".equals(r.info.packageName)) {
|
||||
|
||||
Reference in New Issue
Block a user