commit | a583aa4c4d1045b062423ecdd3b42f5719344610 | [log] [tgz] |
---|---|---|
author | Bin Tan <bint@google.com> | Thu Jun 16 20:35:45 2022 +0000 |
committer | Bin Tan <bint@google.com> | Fri Jun 17 20:18:49 2022 +0000 |
tree | c49e0ccd0dc3a0ccdf28745a86ed04a4dba9c2db | |
parent | 91c59aa13da9771810d9fe515c687b4328ad6a03 [diff] |
Use PollingCheck to handle random delay of focus status 1. The update of the focus status of an activity may be delayed after the activity is resumed. Use PollingCheck to accommondate the delay. 2. Passed the 100-iterations test. Bug: 235351167 Test: atest CtsCarBuiltinApiTestCases: ActivityManagerHelperTest#testSetFocusedRootTask Change-Id: I591f57e3322a2e49ab7572e5429ea1ed0abc318e