Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07a0ede7 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Start userId from 10, reserving 1-9 for special use in the future.

Change-Id: I3d0c1717d8b3add75ba43ed98e53ba02e6682c34
parent c71a57d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,7 +688,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;