commit | 27b4b833f67132ddf359811c001b00ccc56e0ccc | [log] [tgz] |
---|---|---|
author | Nataniel Borges <natanieljr@google.com> | Mon Dec 21 14:39:48 2020 +0100 |
committer | Nataniel Borges <natanieljr@google.com> | Mon Dec 21 21:45:54 2020 +0100 |
tree | ab582bb295b7bc30f78fd27b85476af54ff8f164 | |
parent | 22d3663b0ffc0552608505980340a48d7d309c49 [diff] |
Use WMStateHelper to waitFor transition Using the UI automator to wait for elements is unstable and occasionally triggers `android.os.DeadObjectException` Using the activity manager state to wait for the device is a more reliable way of doing this Bug: 175877007 Test: atest WMShellFlickerTests:com.android.wm.shell.flicker.pip.PipKeyboardTest -- --abi arm64-v8a Change-Id: I0c838ea91e18cb6e9821efd85b05f507b131cc71