Clean up USER_OWNER reference.

Bug: 19913735
Change-Id: I441672b360fa0fff5453f72c88f9577b5cc8eecf
This commit is contained in:
Xiaohui Chen
2015-08-17 16:09:02 -07:00
parent f52b66588f
commit 98404fdc0b
5 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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);
}
};