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

Commit 5a65bf8a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix isDesktopModeSupportedOnDisplay" into main

parents 93cd7b77 686333b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ class DesktopStateImpl(context: Context) : DesktopState {
            (display.type == Display.TYPE_EXTERNAL || display.type == Display.TYPE_OVERLAY) &&
                enableDisplayContentModeManagement()
        ) {
            return windowManager?.shouldShowSystemDecors(display.displayId) ?: false
            return windowManager?.isEligibleForDesktopMode(display.displayId) ?: false
        }

        return false