diff options
| author | 2024-01-22 17:34:11 +0800 | |
|---|---|---|
| committer | 2024-01-22 19:57:42 +0800 | |
| commit | e5d91778c83b1ed255610797dd0beacbc18c55f6 (patch) | |
| tree | 511a506641c2f6f82803bc783fe7d201b9edda12 /libs/androidfw/StringPool.cpp | |
| parent | c30ec00bf1e0a0151a97db42760ff479babe7dd5 (diff) | |
Update display before dispatching config change
When #onConfgurationChanged is called, developers may use combination
of configuration and displayMetrics for UI rendering.
However, it could be wrong because the confg callback is dispatched
before updating display for WindowContext and InputMethodService.
This CL moves #updateDisplay before dispatching #onConfgurationChanged.
Bug: 320375083
Test: manual
Change-Id: I4fe919a09c487ec874e5124aecfe2b934676f429
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions