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

Commit 26145164 authored by Mady Mellor's avatar Mady Mellor
Browse files

Don't show caption menu for things in TaskView / bubbles

Test: manual - enable desktop windowing
             - get a bubble and expand it, verify there isn't an
               extra handle at the top of the view
Bug: 287090311
Change-Id: I0b382cd6ec529ad2264aec1b633b99817c6a7b18
parent dd8315d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -799,6 +799,7 @@ public class DesktopModeWindowDecorViewModel implements WindowDecorViewModel {
        return DesktopModeStatus.isProto2Enabled()
                && taskInfo.getWindowingMode() != WINDOWING_MODE_PINNED
                && taskInfo.getActivityType() == ACTIVITY_TYPE_STANDARD
                && !taskInfo.configuration.windowConfiguration.isAlwaysOnTop()
                && mDisplayController.getDisplayContext(taskInfo.displayId)
                .getResources().getConfiguration().smallestScreenWidthDp >= 600;
    }