Don't launch orientation-matching unresizable apps in freeform
TaskLaunchParamsModifier seems to handle size-compat apps and other unresizable apps in the same way, so if the develeper option for freeform size compat is enabled, normal unresizable apps are also launched in freeform, which makes some CTS fail. This CL changes this logic so that an unresizable app will be launched in freeform if and only if the orientaion of the activity doesn't match that of the freeform display. Bug: 177209298 Test: atest android.server.wm.FreeformWindowingModeTests Test: #testNonResizeableActivityHasFullDisplayBounds Change-Id: I4d220ab08360c53300f96d6391a13e7a9ee44dd9
Loading
Please register or sign in to comment