commit | a66d65e1476d0e22a02f00cd58c5d492bf627502 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Jun 16 10:32:51 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Jun 22 08:49:45 2023 -0700 |
tree | 0f37bdee0d85f1fd74a3d9bfb73690fe74a64f95 | |
parent | 3218fc08efb1d3c15f9060343c0850e018f0301c [diff] |
Wait for dispatcher idle before asserting policy callbacks Before this CL, the policy state was asserted too early. The dispatcher might not have finished processing the commands yet. To fix this, force the tests to wait until dispatcher is idle by providing a dispatcher reference to the assertion function. Bug: 282837934 Test: atest inputflinger_tests Change-Id: Ie427071f774d2bfb4b9ebfef94c7971656a69509