commit | e5d91778c83b1ed255610797dd0beacbc18c55f6 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Jan 22 17:34:11 2024 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Mon Jan 22 19:57:42 2024 +0800 |
tree | 511a506641c2f6f82803bc783fe7d201b9edda12 | |
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