am 5efc533b: Merge "Fix service binding for singleUser services" into jb-mr1-dev
* commit '5efc533be6ac43df56a05c84972affbd07a913a7': Fix service binding for singleUser services
This commit is contained in:
@@ -478,12 +478,6 @@ public class ActiveServices {
|
|||||||
if (res.record == null) {
|
if (res.record == null) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (mAm.isSingleton(res.record.processName, res.record.appInfo,
|
|
||||||
res.record.serviceInfo.name, res.record.serviceInfo.flags)) {
|
|
||||||
userId = 0;
|
|
||||||
res = retrieveServiceLocked(service, resolvedType, Binder.getCallingPid(),
|
|
||||||
Binder.getCallingUid(), 0, true);
|
|
||||||
}
|
|
||||||
ServiceRecord s = res.record;
|
ServiceRecord s = res.record;
|
||||||
|
|
||||||
final long origId = Binder.clearCallingIdentity();
|
final long origId = Binder.clearCallingIdentity();
|
||||||
|
|||||||
Reference in New Issue
Block a user