summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-04-14 17:19:46 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-04-15 10:09:30 +0800
commite553a89c75bbc5215f085efe7b47bcaf4b0f4c03 (patch)
treec84c85520fb655b13fc9926f9827a10e33ed2740 /tools/aapt2/java/JavaClassGenerator.cpp
parentb86e5a77a1be48a7e80d2f9a0fca3497ba44a30b (diff)
Avoid reporting unhandled config changes to activity
Currently the global configuration is also used as the override configuration of default display, it is possible that the changed configuration from relayoutWindow is sent from view root to activity before handling the relaunch transaction item. So the activity may receive an unexpected onConfigurationChanged before relaunching. By enabling the check of activity-handle-able configuration for the path from view root, the unexpected onConfigurationChanged can be ignored and proceed to relaunch. Bug: 145018628 Test: atest ConfigChangeTests#testChangeFontScaleRelaunch Change-Id: If4c9590583642219ba7b5cd99bbfe84711524cd5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions