am c656d219: am 34b63d50: Merge "Fix issue #17574819: Chrome browser process is killed..." into lmp-dev

* commit 'c656d2198885728c54395cb2cf148954b56f09a6':
  Fix issue #17574819: Chrome browser process is killed...
This commit is contained in:
Dianne Hackborn
2014-09-26 04:42:05 +00:00
committed by Android Git Automerger

View File

@@ -2134,7 +2134,8 @@ public final class ActiveServices {
if (!hasCreate) {
continue;
}
if (proc != null && !proc.persistent && proc.thread != null
// XXX turned off for now until we have more time to get a better policy.
if (false && proc != null && !proc.persistent && proc.thread != null
&& proc.pid != 0 && proc.pid != ActivityManagerService.MY_PID
&& proc.setProcState >= ActivityManager.PROCESS_STATE_LAST_ACTIVITY) {
proc.kill("bound to service " + sr.name.flattenToShortString()