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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user