mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 13:49:45 +00:00
Merge "Added DISABLED flag to users flag for HAL" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
110f2bef7f
@@ -4280,6 +4280,16 @@ enum UserFlags: int32_t {
|
|||||||
* Admin users have additional privileges such as permission to create other users.
|
* Admin users have additional privileges such as permission to create other users.
|
||||||
*/
|
*/
|
||||||
ADMIN = 0x08,
|
ADMIN = 0x08,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disabled users are marked for deletion.
|
||||||
|
*/
|
||||||
|
DISABLED = 0x10,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Profile user is a profile of another user.
|
||||||
|
*/
|
||||||
|
PROFILE = 0x20,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -4294,10 +4304,16 @@ struct UsersInfo {
|
|||||||
/** The current foreground user. */
|
/** The current foreground user. */
|
||||||
UserInfo currentUser;
|
UserInfo currentUser;
|
||||||
|
|
||||||
/** Number of existing users (includes the current user). */
|
/**
|
||||||
|
* Number of existing users; includes the current user, recently removed users (with DISABLED
|
||||||
|
* flag), and profile users (with PROFILE flag).
|
||||||
|
*/
|
||||||
int32_t numberUsers;
|
int32_t numberUsers;
|
||||||
|
|
||||||
/** List of existing users (includes the current user). */
|
/**
|
||||||
|
* List of existing users; includes the current user, recently removed users (with DISABLED
|
||||||
|
* flag), and profile users (with PROFILE flag).
|
||||||
|
*/
|
||||||
vec<UserInfo> existingUsers;
|
vec<UserInfo> existingUsers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user