Remove the redundant sleep after turning on the screen.

We are checking for network access in onResume(), which
wouldn't be called until the screen is on. So, there
shouldn't be a need for the extra sleep after turning
on the screen.

Also, remove redundant waits after the last try when
doing verifications as the test is anyway to going to
fail at this point.

Bug: 206518114
Test: atest tests/tests/app.usage/src/android/app/usage/cts/UsageStatsTest.java
Ignore-AOSP-First: Will cherrypick afterwards
Change-Id: I28429c929142a95c19b1f8a5b7d28b9c8c4a45b9
1 file changed