Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c2b0097c authored by Charles Chen's avatar Charles Chen
Browse files

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
parent 7c119c64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment