Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java

Issue 2320873002: Revert of Video capture Android: enable unittests for Camera2 API (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java b/media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java
index 3af3549c69bdbbb5eff32da06f8c0d586dc91598..c88f9f7d582429300afd07c74a31d79a3e7e766e 100644
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCaptureFactory.java
@@ -91,11 +91,6 @@
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
}
- @CalledByNative
- static boolean isLegacyOrDeprecatedDevice(Context context, int id) {
- return !isLReleaseOrLater() || VideoCaptureCamera2.isLegacyDevice(context, id);
- }
-
// Factory methods.
@CalledByNative
static VideoCapture createVideoCapture(

Powered by Google App Engine
This is Rietveld 408576698