add active users limit toggle and show active users #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes GrapheneOS/os-issue-tracker#87
Review with: https://github.com/GrapheneOS/platform_frameworks_base/pull/32
Adds a toggle in Settings to control whether the number of active users is limited to 3. Also lets the admin user see the state of all the users. Switching to a user makes the user considered active, regardless of whether the user signs in
There's currently no option to adjust the limit; it's just an on or off toggle. The toggle is on by default, as that's the default Android behavior.
Tested on a Pixel 3a. Performance of the phone is heavily degraded if keeping all 17 (16 + guest) users active. It's somewhat acceptable if keeping 8 users active all with something like Vanadium open