aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 02:02:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 02:02:00 +0000
commita887f976148ea10d21ced7127527e8dad536202f (patch)
tree2095f6dc381745f7ac67cca1fd3ff141a7799dd5
parent4f5a46b90ace7ccb51a9752929252da0021df750 (diff)
parentc989cd2654be51f53f5e6d70b5fd6f4d607f1d58 (diff)
downloadcsuite-a887f976148ea10d21ced7127527e8dad536202f.tar.gz
Snap for 9254005 from c989cd2654be51f53f5e6d70b5fd6f4d607f1d58 to mainline-cellbroadcast-releaseaml_cbr_331610010aml_cbr_331510000aml_cbr_331411000aml_cbr_331310010
Change-Id: I7b0e265b1af32591713d092b82f7551f51a86614
-rw-r--r--harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
index f51c93e..ddba6be 100644
--- a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
+++ b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
@@ -489,7 +489,7 @@ public final class AppSetupPreparerTest {
ITestDevice device = mock(ITestDevice.class);
when(device.getProperty(any())).thenReturn("");
when(device.waitForDeviceShell(anyLong())).thenReturn(true);
- doNothing().when(device).waitForDeviceAvailable(anyLong());
+ when(device.waitForDeviceAvailable(anyLong())).thenReturn(true);
return device;
}