diff options
author | Amith Yamasani <yamasani@google.com> | 2012-09-17 14:56:02 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-17 14:56:03 -0700 |
commit | 1d31d5ba129007fc13bd0ed49a3e3cd60e748e7c (patch) | |
tree | 8521295d667cfd32d8499e9489187eea4655d5c7 /services/java | |
parent | 7134ef60b7ebe81b37dffdd65f22a9aae80e3d14 (diff) | |
parent | 07a0ede729f9b2f472b659b67b4cbc3602aa289a (diff) | |
download | frameworks_base-1d31d5ba129007fc13bd0ed49a3e3cd60e748e7c.zip frameworks_base-1d31d5ba129007fc13bd0ed49a3e3cd60e748e7c.tar.gz frameworks_base-1d31d5ba129007fc13bd0ed49a3e3cd60e748e7c.tar.bz2 |
Merge "Start userId from 10, reserving 1-9 for special use in the future." into jb-mr1-dev
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/pm/UserManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/pm/UserManagerService.java b/services/java/com/android/server/pm/UserManagerService.java index 914ff67..690d7c9 100644 --- a/services/java/com/android/server/pm/UserManagerService.java +++ b/services/java/com/android/server/pm/UserManagerService.java @@ -701,7 +701,7 @@ public class UserManagerService extends IUserManager.Stub { */ private int getNextAvailableIdLocked() { synchronized (mPackagesLock) { - int i = 0; + int i = 10; while (i < Integer.MAX_VALUE) { if (mUsers.indexOfKey(i) < 0) { break; |