Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5efc533b authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Fix service binding for singleUser services" into jb-mr1-dev

parents 43229d70 4076bc50
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -478,12 +478,6 @@ public class ActiveServices {
        if (res.record == null) {
            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;

        final long origId = Binder.clearCallingIdentity();