commit | b713e864ada4186fffa37fb63465991639008561 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Jan 15 20:08:38 2024 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Jan 15 20:08:38 2024 +0800 |
tree | a0790641155e820d23cc2b654573bef5ee128f16 | |
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