Clean up USER_OWNER reference.
Bug: 19913735 Change-Id: I441672b360fa0fff5453f72c88f9577b5cc8eecf
This commit is contained in:
@@ -4702,7 +4702,7 @@ public class PackageParser {
|
||||
|
||||
private static boolean copyNeeded(int flags, Package p,
|
||||
PackageUserState state, Bundle metaData, int userId) {
|
||||
if (userId != UserHandle.USER_OWNER) {
|
||||
if (userId != UserHandle.USER_SYSTEM) {
|
||||
// We always need to copy for other users, since we need
|
||||
// to fix up the uid.
|
||||
return true;
|
||||
|
||||
@@ -213,7 +213,7 @@ public abstract class RegisteredServicesCache<V> {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
// External apps can't coexist with multi-user, so scan owner
|
||||
handlePackageEvent(intent, UserHandle.USER_OWNER);
|
||||
handlePackageEvent(intent, UserHandle.USER_SYSTEM);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user