am 58cb80f6: am 1d31d5ba: Merge "Start userId from 10, reserving 1-9 for special use in the future." into jb-mr1-dev
* commit '58cb80f6ce61156953b52e3f48409475077a726f': Start userId from 10, reserving 1-9 for special use in the future.
This commit is contained in:
@@ -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