@@ -7357,7 +7357,6 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
}
}
/** Take video with timelapse mode.
/** Take video with timelapse mode.
* Fails on Android emulator (at least for Android 7.1 on VirtualScene camera).
* Fails on Pixel 6 Pro with old camera API.
* Fails on Pixel 6 Pro with old camera API.
*/
*/
public void testTakeVideoTimeLapse() throws InterruptedException {
public void testTakeVideoTimeLapse() throws InterruptedException {
@@ -7365,6 +7364,11 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
setToDefault();
setToDefault();
if( TestUtils.isEmulator() ) {
// fails on Android emulator (at least for Android 7.1 on VirtualScene camera) - and can also leave camera in a state that can't be opened for subsequent tests