Skip to content
Commit ca3b42ae authored by Kazuki Takise's avatar Kazuki Takise
Browse files

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
parent 0290ef23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment