summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2017-04-19 10:55:10 -0700
committerAndrii Kulian <akulian@google.com>2017-04-20 15:42:07 -0700
commit036e3adce72b39ac5baefcf059891d6951206d81 (patch)
tree9bce52fc3d3185303c83e71fa6115aadea034d6d /tools/aapt2/java/JavaClassGenerator.cpp
parentaa6b649a35072dc529c3b09bab097815fe3bff81 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions