diff options
| author | 2024-01-15 20:08:38 +0800 | |
|---|---|---|
| committer | 2024-01-15 20:08:38 +0800 | |
| commit | b713e864ada4186fffa37fb63465991639008561 (patch) | |
| tree | a0790641155e820d23cc2b654573bef5ee128f16 /libs/androidfw/FileStream.cpp | |
| parent | 02b61abcfe0874bc686d6ce5cba36cc4ec6f3222 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions