diff options
author | Kazuki Takise <takise@google.com> | 2021-01-13 20:58:10 +0900 |
---|---|---|
committer | Kazuki Takise <takise@google.com> | 2021-01-28 10:33:24 +0000 |
commit | ca3b42aea9b7cc94190c67e098512ea2ea081209 (patch) | |
tree | b14df35e557c4f8052d0d9a36211dd275f1bfb03 /rs/java/android/renderscript/ProgramStore.java | |
parent | 0290ef235cc28bf8dce926a3a92e7a903b4ce6fb (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions