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

Commit 14427b11 authored by Alina Zaidi's avatar Alina Zaidi Committed by Android (Google) Code Review
Browse files

Merge "Restore the use of the Desktop Limiter" into main

parents c3b2d11c 4d17d0a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -569,7 +569,7 @@ public abstract class WMShellModule {
            ShellTaskOrganizer shellTaskOrganizer) {
        int maxTaskLimit = DesktopModeStatus.getMaxTaskLimit(context);
        if (!DesktopModeStatus.canEnterDesktopMode(context)
                || DESKTOP_WINDOWING_MODE.isEnabled(context)
                || !DESKTOP_WINDOWING_MODE.isEnabled(context)
                || maxTaskLimit <= 0) {
            return Optional.empty();
        }