@ -42,7 +42,7 @@ jobs:
# TODO 29 fails due to Mockito issues, probably reproducible locally.
# 22, 23, 24, 25, 26, 27, 28 work - some of them, with SdkExclude restrictions.
# EMULATOR_API: [22, 23, 24, 25, 26, 27, 28]
EMULATOR_API: [22, 23, 24, 25, 29]
EMULATOR_API: [22, 23, 24, 25]
EMULATOR_ARCH: [x86_64]
steps:
- uses: actions/checkout@v1
@ -6,6 +6,7 @@ import android.content.res.TypedArray;
import android.graphics.PointF;
import android.location.Location;
import androidx.annotation.NonNull;
import androidx.test.annotation.UiThreadTest;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import androidx.test.filters.MediumTest;
@ -207,7 +207,7 @@ public abstract class CameraIntegrationTest<E extends CameraEngine> extends Base
return argument.getReason() == CameraException.REASON_VIDEO_FAILED;
}
}));
int maxLoops = 20;
int maxLoops = 10;
int loops = 0;
// First wait for onVideoRecordingEnd().
@ -27,10 +27,10 @@ import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
/**
* Not clear why, but for some reason on API 28 the UiThreadTests here crash for an internal NPE
* Not clear why, but for some reason on API 28+ the UiThreadTests here crash for an internal NPE
* in FrameLayout.onMeasure.
*/
@SdkExclude(minSdkVersion = 28, maxSdkVersion = 28)
@SdkExclude(minSdkVersion = 28, maxSdkVersion = 29)
@TargetApi(17)
public class MarkerLayoutTest extends BaseTest {