summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2019-05-01 18:58:28 -0700
committerAndrii Kulian <akulian@google.com>2019-05-15 19:02:43 -0700
commitceef7461c2b082d450040b22872e691424095fc6 (patch)
tree309377f14806b96013444e7e4b7e9cf3b291f797 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta7423ca97cf175769f440a3aad2b78fab07c1cd3 (diff)
Override process config for cold start on secondary screens
Some apps use Application context to get display configuration and metrics for their activities. This leads to incorrect configuration used for activities on secondary screens. This is an issue on the application side, but the framework can provide some compatibility - override process-level config to match the display where the first activity was launched. Once an activity in the process is launched on the default display, stop watching other displays config to preserve compatibility. Bug: 131179060 Test: atest WmTests:ActivityRecordTests#testSetProcessOverridesConfig Test: Launch GMail on secondary screen Change-Id: If76f4a83c708f47fd914da68dd4b7366ffd8b88c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions