am f80a32e6: am e92d9bd1: am aefcae4d: Merge "camera2 CTS: Wait for session close callbacks before teardown." into lollipop-mr1-cts-dev
* commit 'f80a32e60589157b1db0f11e4ed381fe29f9fa23':
camera2 CTS: Wait for session close callbacks before teardown.
diff --git a/tests/tests/hardware/src/android/hardware/camera2/cts/PerformanceTest.java b/tests/tests/hardware/src/android/hardware/camera2/cts/PerformanceTest.java
index d4a0e73..124c5b0 100644
--- a/tests/tests/hardware/src/android/hardware/camera2/cts/PerformanceTest.java
+++ b/tests/tests/hardware/src/android/hardware/camera2/cts/PerformanceTest.java
@@ -252,7 +252,7 @@
// simulate real scenario (preview runs a bit)
waitForNumResults(previewResultListener, NUM_RESULTS_WAIT);
- stopPreview();
+ blockingStopPreview();
}
mReportLog.printArray("Camera " + id