mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Adding Prework for Private Space integration in Launcher
This Cl adds the following: 1. Fixes for Quite Mode check maintained by Launcher 2. Addition of new Quite Mode broadcasts 3. Fixes for determining work profile user correctly. Flag: ACONFIG com.android.launcher3.Flags.enable_private_space DEVELOPMENT Bug: 289223923 Test: Ran Launcher3 tests Change-Id: I5f6158b213723339e70ff99e66c5f439f5879e12
This commit is contained in:
@@ -61,6 +61,9 @@ public class UserManagerState {
|
||||
|
||||
/**
|
||||
* Returns true if any user profile has quiet mode enabled.
|
||||
* <p>
|
||||
* Do not use this for determining if a specific profile has quiet mode enabled, as their can
|
||||
* be more than one profile in quiet mode.
|
||||
*/
|
||||
public boolean isAnyProfileQuietModeEnabled() {
|
||||
for (int i = mQuietUsersHashCodeMap.size() - 1; i >= 0; i--) {
|
||||
|
||||
Reference in New Issue
Block a user