summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlison Cichowlas <asc@google.com>2018-06-13 17:11:57 -0400
committerAlison Cichowlas <asc@google.com>2018-06-13 17:29:39 -0400
commit0b92aed731e1dc70e8e456e79dde2f0da7e306e0 (patch)
tree1b275d5f1be8261bb7ecfa887fa720b671214854
parent486cabfddcb0794dc76974b6b41b44f7ab03d138 (diff)
downloadplatform_testing-0b92aed731e1dc70e8e456e79dde2f0da7e306e0.tar.gz
Wake up device before NotificationPull test.
Test: runtest --path platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java Bug: 92915181 Change-Id: I8b7aa5b9c2d0b2fbce3202c07fb83e39d0c185cd
-rw-r--r--tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java b/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java
index f4fa17da8..c8cd814ea 100644
--- a/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java
+++ b/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/SystemUiJankTests.java
@@ -407,6 +407,8 @@ public class SystemUiJankTests extends JankTestBase {
}
public void beforeNotificationListPull() throws Exception {
+ mDevice.wakeUp();
+ mDevice.waitForIdle();
prepareNotifications(GROUP_MODE_LEGACY);
TimeResultLogger.writeTimeStampLogStart(String.format("%s-%s",
getClass().getSimpleName(), getName()), TIMESTAMP_FILE);