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

Commit ba6d29db authored by Manish Singh's avatar Manish Singh Committed by Android (Google) Code Review
Browse files

Merge "Check all users if anyone needs a new tab" into main

parents 426231df 779cda70
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1268,7 +1268,11 @@ public final class Utils extends com.android.settingslib.Utils {
            UserProperties userProperties = userManager.getUserProperties(userHandle);
            if (userProperties.getShowInSettings() == UserProperties.SHOW_IN_SETTINGS_SEPARATE) {
                if (Flags.allowPrivateProfile() && userProperties.getHideInSettingsInQuietMode()) {
                    return !userManager.isQuietModeEnabled(userHandle);
                    if (!userManager.isQuietModeEnabled(userHandle)) {
                        return true;
                    } else {
                        continue;
                    }
                }
                return true;
            }