เกี่ยวกับการเปลี่ยนระบบ rooted ในไฟล์ xml สำหรับผู้ใช้ใน / data / system / users / flag จาก 16 เป็น 24 ตัวอย่าง:
user id = "11" serialNumber = "13" ค่าสถานะ = "24" created = "1373565328127" lastLoggedIn = "1376779161829" ไอคอน = "/ data / system / ผู้ใช้ / 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