diff options
author | Andrii Kulian <akulian@google.com> | 2016-07-18 19:15:56 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2016-07-21 13:55:14 -0700 |
commit | 3b3c914e62db9e5e5e57930321cef257f57c73ed (patch) | |
tree | 8044f8d0279ab53fb4e904c7554331ec4f1af823 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d2b30510c26661c1b96ab06cd4a770c90ce8d128 (diff) |
Make sure to apply latest configuration to resources
When app is transferred from split-screen mode to fullscreen
and the app doesn't handle configuration change, relaunch is
scheduled with non-empty override config corresponding to
fullscreen size. This override config is then used in instance
of DisplayAdjustments and in size/metrics calculations in
corresponding methods of Display class. To obtain correct values
in fullscreen mode override config should be empty.
Configuration change that follows relaunch has correct (empty)
override config, but it is not really applied for resources
because final config matched current activity config.
Bug: 30185335
Change-Id: I95fb69e0c229c2c6b0c1cd79e9d60556de579ae4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions