summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-11-03 18:43:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-03 18:43:44 +0000
commit39fe8f1a214bdc3f281259ecc700c87faaf7ab74 (patch)
tree8931e16ab866efbf39d276c712ea583c692e9377
parent7b184371775f935abc60e616a22873ffa79ca005 (diff)
parent8a89243e593ce01c0c0da4b1042c7725cacd2eb9 (diff)
downloadcts-39fe8f1a214bdc3f281259ecc700c87faaf7ab74.tar.gz
Merge "Go home before starting AwareActivity." into oreo-cts-dev
-rw-r--r--hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/EncryptionAppTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/EncryptionAppTest.java b/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/EncryptionAppTest.java
index 37744fa618f..6f65faf4e05 100644
--- a/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/EncryptionAppTest.java
+++ b/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/EncryptionAppTest.java
@@ -172,6 +172,9 @@ public class EncryptionAppTest extends InstrumentationTestCase {
mDevice.pressMenu();
mDevice.waitForIdle();
enterTestPin();
+ mDevice.waitForIdle();
+ mDevice.pressHome();
+ mDevice.waitForIdle();
}
public void assertLocked() throws Exception {