Merge "Revert "Fix a bug: unable to start activity when AM is killing the process.""

This commit is contained in:
Craig Mautner
2014-08-12 21:09:21 +00:00
committed by Gerrit Code Review

View File

@ -1050,7 +1050,7 @@ public final class ActivityStackSupervisor {
r.task.stack.setLaunchTime(r);
if (app != null && app.thread != null && !app.killedByAm) {
if (app != null && app.thread != null) {
try {
if ((r.info.flags&ActivityInfo.FLAG_MULTIPROCESS) == 0
|| !"android".equals(r.info.packageName)) {