summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2021-04-12 09:35:51 +0800
committerLouis Chang <louischang@google.com>2021-04-28 17:00:07 +0800
commit33a43368776004082b491b0f851c4318d12fc4be (patch)
treefc14471283d9338d2d21d15d14d9027cf1a078dd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8c87ff6affe3144b397646ddb31c11a241236d8e (diff)
Do not relaunch bg activities when application info changes
Update the configurations via ActivityTaskManager to prevent the activities being relaunched while in background. Instead, the activities will be relaunched after brought to front and being visible. This also prevents all activities in the system being relaunched at the same time. For framework resource updates, the global configuration will be updated. For individual package overlay changes, new asset sequence would be set to the activity's requested configurations to ensure the activity will be relaunch once visible. The requested asset sequence will be reset if its parent has a newer asset sequence. Bug: 185301309 Test: update app info via shell command while activity in background Test: atest ResourcesLoaderValuesTest Test: atest RoleManagerTest#requestRoleAndAllowThenIsRoleHolder Change-Id: Ic7f13b768fb575d6301f05f7fda71b15d1ccf312
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions