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

Commit 1446d6ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Added DISABLED flag to users flag for HAL" into rvc-dev am: 110f2bef...

Merge "Added DISABLED flag to users flag for HAL" into rvc-dev am: 110f2bef am: 2334a510 am: c795ad20

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11870725

Change-Id: I04a395ec63360e0d2e0b3a48cb3866b4f6519fee
parents 6a9e1fb5 c795ad20
Loading
Loading
Loading
Loading
+18 −2
Original line number Diff line number Diff line
@@ -4280,6 +4280,16 @@ enum UserFlags: int32_t {
     * Admin users have additional privileges such as permission to create other users.
     */
    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. */
    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;

    /** 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;
 };