Don't put non-resizeable activities on secondary displays
There is a contract that a non-resizeable activity cannot get a configuration different from the global config (or fullscreen config on primary display). This CL ensures that for launching on secondary displays and checks if target display's config matches the global config. If a forced-resizeable activity is launched to a secondary display or there was an attempt to launch a non-resizeable activity that failed, corresponding toast message will be displayed. Bug: 36777179 Test: android.server.cts.ActivityManagerDisplayTests Test: #testLaunchNonResizeableActivityOnSecondaryDisplay Test: #testLaunchNonResizeableActivityWithSplitScreen Test: #testMoveNonResizeableActivityToSecondaryDisplay Change-Id: I5346afe740e78e4e5ba9a9694e97ac60b92663e9
Loading
Please register or sign in to comment