Loading services/java/com/android/server/am/ActiveServices.java +1 −1 Original line number Diff line number Diff line Loading @@ -729,7 +729,7 @@ public class ActiveServices { ServiceInfo sInfo = rInfo != null ? rInfo.serviceInfo : null; if (sInfo == null) { Slog.w(TAG, "Unable to start service " + service + Slog.w(TAG, "Unable to start service " + service + " U=" + userId + ": not found"); return null; } Loading services/java/com/android/server/pm/PackageManagerService.java +7 −1 Original line number Diff line number Diff line Loading @@ -473,6 +473,9 @@ public class PackageManagerService extends IPackageManager.Stub { mContainerServiceUserId = 0; if (mPendingInstalls.size() > 0) { mContainerServiceUserId = mPendingInstalls.get(0).getUser().getIdentifier(); if (mContainerServiceUserId == UserHandle.USER_ALL) { mContainerServiceUserId = 0; } } if (mContext.bindService(service, mDefContainerConn, Context.BIND_AUTO_CREATE, mContainerServiceUserId)) { Loading Loading @@ -554,7 +557,10 @@ public class PackageManagerService extends IPackageManager.Stub { if (params != null) { // Check if we're connected to the correct service, if it's an install // request. if (params.getUser().getIdentifier() != mContainerServiceUserId) { final int installFor = params.getUser().getIdentifier(); if (installFor != mContainerServiceUserId && (installFor == UserHandle.USER_ALL && mContainerServiceUserId != 0)) { mHandler.sendEmptyMessage(MCS_RECONNECT); return; } Loading Loading
services/java/com/android/server/am/ActiveServices.java +1 −1 Original line number Diff line number Diff line Loading @@ -729,7 +729,7 @@ public class ActiveServices { ServiceInfo sInfo = rInfo != null ? rInfo.serviceInfo : null; if (sInfo == null) { Slog.w(TAG, "Unable to start service " + service + Slog.w(TAG, "Unable to start service " + service + " U=" + userId + ": not found"); return null; } Loading
services/java/com/android/server/pm/PackageManagerService.java +7 −1 Original line number Diff line number Diff line Loading @@ -473,6 +473,9 @@ public class PackageManagerService extends IPackageManager.Stub { mContainerServiceUserId = 0; if (mPendingInstalls.size() > 0) { mContainerServiceUserId = mPendingInstalls.get(0).getUser().getIdentifier(); if (mContainerServiceUserId == UserHandle.USER_ALL) { mContainerServiceUserId = 0; } } if (mContext.bindService(service, mDefContainerConn, Context.BIND_AUTO_CREATE, mContainerServiceUserId)) { Loading Loading @@ -554,7 +557,10 @@ public class PackageManagerService extends IPackageManager.Stub { if (params != null) { // Check if we're connected to the correct service, if it's an install // request. if (params.getUser().getIdentifier() != mContainerServiceUserId) { final int installFor = params.getUser().getIdentifier(); if (installFor != mContainerServiceUserId && (installFor == UserHandle.USER_ALL && mContainerServiceUserId != 0)) { mHandler.sendEmptyMessage(MCS_RECONNECT); return; } Loading