am 23e28255: Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev
* commit '23e282554ee0ddff80fd5bd2f47d5fb37b3b02c5': Multiprocess activity should be allowed to run on current user
This commit is contained in:
@@ -3014,8 +3014,8 @@ final class ActivityStack {
|
||||
// Collect information about the target of the Intent.
|
||||
ActivityInfo aInfo = resolveActivity(intent, resolvedType, startFlags,
|
||||
profileFile, profileFd, userId);
|
||||
if (aInfo != null && mService.isSingleton(aInfo.processName, aInfo.applicationInfo,
|
||||
null, 0)) {
|
||||
if (aInfo != null && (aInfo.flags & ActivityInfo.FLAG_MULTIPROCESS) == 0
|
||||
&& mService.isSingleton(aInfo.processName, aInfo.applicationInfo, null, 0)) {
|
||||
userId = 0;
|
||||
}
|
||||
aInfo = mService.getActivityInfoForUser(aInfo, userId);
|
||||
|
||||
Reference in New Issue
Block a user