Index: webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera2CapturerTest.java |
diff --git a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera2CapturerTest.java b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera2CapturerTest.java |
index 86a74c2936f353464c122c5ef8108ddbad3183cc..a752cf09bc328f6eb83e3fd2e3b2a52a5f751b88 100644 |
--- a/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera2CapturerTest.java |
+++ b/webrtc/sdk/android/instrumentationtests/src/org/webrtc/Camera2CapturerTest.java |
@@ -14,6 +14,7 @@ import static org.junit.Assert.assertEquals; |
import static org.junit.Assert.assertFalse; |
import static org.junit.Assert.fail; |
+import android.annotation.TargetApi; |
import android.content.Context; |
import android.hardware.camera2.CameraAccessException; |
import android.hardware.camera2.CameraDevice; |
@@ -31,6 +32,7 @@ import org.junit.Before; |
import org.junit.Test; |
import org.junit.runner.RunWith; |
+@TargetApi(21) |
@RunWith(BaseJUnit4ClassRunner.class) |
public class Camera2CapturerTest { |
static final String TAG = "Camera2CapturerTest"; |