summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-03-12 17:25:35 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-03-21 20:17:38 +0800
commitaec5544d22d77fc9ae95c77b1e3c3ba8371f543a (patch)
tree3fb0d952eae2be038b68d501da95293d4d62b2ab /tools/aapt2/java/JavaClassGenerator_test.cpp
parent041641865a58ef5f3ac82025feaeedaa07ecf564 (diff)
Reset configuration of invisible size-compat activity if display changes
Assume a size compatibility mode activity is moved to another display, and then it is put in background. In this case, if the size or density of display is changed, the existing override configuration (by previous display) will be reset and also kill its process if the process state is not important to user (also sync the state criteria to pre-N app). So when the activity becomes the foreground again, it will have a new process with the latest configuration. Bug: 112288258 Fixes: 125587591 Test: atest ActivityRecordTests#testSizeCompatMode_ResetNonVisibleActivity Change-Id: I14c90b6a7bb00eeb66d2b9f2d8e85ccfa9ef4e51
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions