diff options
| author | 2023-08-24 15:37:42 +0800 | |
|---|---|---|
| committer | 2023-08-29 16:52:46 +0800 | |
| commit | c2b0097c88e0c753fd1fc7ca7ce5fe29fa614bd3 (patch) | |
| tree | abe9c8fcf1713ab46c908e66a1bec0f0cd099da1 /libs/androidfw/ApkParsing.cpp | |
| parent | 7c119c647752d147300c94f0eb0cd75cf7185acf (diff) | |
Wait for config callback to reduce flakiness
Previously, we have already wait for config callback from
WindowContexListenerController and WindowTokenClient,
but the test is still flaky. A theory is that the client side received
the config change binder call but the config value hasn't applied to
the Resources.
This CL wait for the config callback via registering ComponentCallbacks
to ensure the Resources value is updated.
Test: atest InputMethodDialogWindowContextTest#testGetSettingsContextOnDualDisplayContent
Bug: 296622353
Change-Id: I4b491d35ae9ce73eb40c8b866ba91e9d7f6442db
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions