diff options
| author | 2024-09-12 14:25:59 +0800 | |
|---|---|---|
| committer | 2024-09-23 12:26:23 +0800 | |
| commit | bebd32ea77ec7b4b9bf6acec4540f1ff68711e1a (patch) | |
| tree | 28f6e61250e45a330c5a896297a64f65ea150fa1 /libs/androidfw/StringPool.cpp | |
| parent | 65e59d9a26dad7c201aab6504ffb70f90c09c0ab (diff) | |
Associate activity config before creating application
In case when cold launching an activity with letterboxed bounds, the
app stores the size or configuration in its Application#onCreate,
which could be still from relative to entire display. And then
Activity#onCreate may initialize with letterboxed configuration,
which may cause UI issue if it uses the stored size from Application.
So this change makes the configuration consistent in both
Application#onCreate and Activity#onCreate.
Bug: 345582967
Flag: EXEMPT bugfix
Test: atest RootWindowContainerTests#testAttachApplication
Change-Id: I7604671446901c87cb1440022327b562dcb4baf6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions