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

Skip to content
Commit b713e864 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reduce flakiness of insets test in ActivityRecordTests

Because performSurfacePlacementAndWaitForWindowAnimator waits
for another thread, which can give the chance to run the callback
twice: executeAfterPrepareSurfacesRunnables -> notifyInsetsChanged
-> setInsetsChanged -> next surface-placement sends the 2nd resize.

Test: atest ActivityRecordTests# \
      testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest
Change-Id: I808b37dace4a5d094e988ef77ec9f97e28327a92
parent 02b61abc
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