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

Commit 440faf35 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Consider enforce property for desktop mode" into main

parents 88fed15c a2a11e0b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -278,6 +278,9 @@ public class DesktopModeStatus {
        if (!canEnterDesktopMode(context)) {
            return false;
        }
        if (!enforceDeviceRestrictions()) {
            return true;
        }
        if (display.getType() == Display.TYPE_INTERNAL) {
            return canInternalDisplayHostDesktops(context);
        }