Merge "DO NOT MERGE Prevent OOM death for services under ServiceWatcher's care." into jb-mr1.1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0cf97d3217
@@ -177,7 +177,7 @@ public class ServiceWatcher implements ServiceConnection {
|
|||||||
mVersion = version;
|
mVersion = version;
|
||||||
if (D) Log.d(mTag, "binding " + packageName + " (version " + version + ")");
|
if (D) Log.d(mTag, "binding " + packageName + " (version " + version + ")");
|
||||||
mContext.bindService(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
mContext.bindService(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND
|
||||||
| Context.BIND_ALLOW_OOM_MANAGEMENT | Context.BIND_NOT_VISIBLE, mCurrentUserId);
|
| Context.BIND_NOT_VISIBLE, mCurrentUserId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isSignatureMatch(Signature[] signatures,
|
public static boolean isSignatureMatch(Signature[] signatures,
|
||||||
|
|||||||
Reference in New Issue
Block a user