am 8a9df5a2: Merge "Fix issue #17574819: Chrome browser process is killed in background..." into lmp-dev

* commit '8a9df5a21c166218ace936e1443948500ed0792f':
  Fix issue #17574819: Chrome browser process is killed in background...
This commit is contained in:
Dianne Hackborn
2014-09-19 23:38:34 +00:00
committed by Android Git Automerger

View File

@@ -2119,7 +2119,8 @@ public final class ActiveServices {
boolean hasCreate = false;
for (int conni=abind.connections.size()-1; conni>=0; conni--) {
ConnectionRecord conn = abind.connections.valueAt(conni);
if ((conn.flags&Context.BIND_AUTO_CREATE) != 0) {
if ((conn.flags&(Context.BIND_AUTO_CREATE|Context.BIND_ALLOW_OOM_MANAGEMENT
|Context.BIND_WAIVE_PRIORITY)) == Context.BIND_AUTO_CREATE) {
hasCreate = true;
break;
}