Merge "Start userId from 10, reserving 1-9 for special use in the future." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d31d5ba12
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user