| commit | a721e9d477c427cd0c8deb9281bcfe9a8d2177f6 | [log] [tgz] |
|---|---|---|
| author | Kholoud Mohamed <kholoudm@google.com> | Fri Jun 26 15:55:28 2020 +0100 |
| committer | Kholoud Mohamed <kholoudm@google.com> | Fri Jun 26 16:04:33 2020 +0100 |
| tree | 8e667720bed0c33046509426d38c4797788e259a | |
| parent | 304e2d6100d17198cebfc5265f97b294194caafa [diff] |
Fix failing testDeviceOwnerWithInfo test It seems like UIAutomator is unable to find the string it is looking for because the device is locked. Fixed this by ensuring the device is unlocked and is on the home screen before running the tests. Bug: 159695432 Test: atest com.google.android.cts.settings.PrivacyDeviceOwnerTest#testDeviceOwnerWithInfo with the screen locked. Change-Id: Id2d6d93e210f0464f55693375dd521d6e1393c6a