/ data / system / users / 플래그의 사용자에 대한 XML 파일의 루팅 된 시스템 변경이 16에서 24로 변경되는 경우 예 :
사용자 id = "11"serialNumber = "13" flags = "24" created = "1373565328127"lastLoggedIn = "1376779161829"icon = "/ data / system / users / 11 / photo.png"
다음은 상수 https://android.googlesource.com/platform/frameworks/base.git/+/android-4.2.2_r1/core/java/android/content/pm/UserInfo.java입니다.
/**
* Primary user. Only one user can have this flag set. Meaning of this
* flag TBD.
*/
public static final int FLAG_PRIMARY = 0x00000001;
/**
* User with administrative privileges. Such a user can create and
* delete users.
*/
public static final int FLAG_ADMIN = 0x00000002;
/**
* Indicates a guest user that may be transient.
*/
public static final int FLAG_GUEST = 0x00000004;
/**
* Indicates the user has restrictions in privileges, in addition to those for normal users.
* Exact meaning TBD. For instance, maybe they can't install apps or administer WiFi access pts.
*/
public static final int FLAG_RESTRICTED = 0x00000008;
/**
* Indicates that this user has gone through its first-time initialization.
*/
public static final int FLAG_INITIALIZED = 0x00000010;
EngyCZ