commit | 555dbe487f9db57e06dc3a505d78fbc203c94929 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Fri Apr 26 08:54:39 2024 +0000 |
committer | wilsonshih <wilsonshih@google.com> | Fri Apr 26 08:54:39 2024 +0000 |
tree | 6a56f698086b19a8a9a254fb8bb5d20085bc6f3b | |
parent | 4a897f6b060e6d4dfd4f0eb4a07f00a7cea1d8e3 [diff] |
Deflaky WindowOnBackInvokedDispatcherTest#handlesMotionEvent The onBackProgressed callback can be triggered from BackProgressAnimator#onBackStarted, and onMotionEvent could driven another onBackPressed if the frame callback just happen. Also, to test onMotionEvent in unit test, it should happen on from Dispatcher's main thread. Bug: 337114893 Test: atest WindowOnBackInvokedDispatcherTest#handlesMotionEvent Change-Id: Ia7dbd591e5b8e11baf2b40b0710752ee524148d6