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

Unified Diff: media/capture/video/android/java/src/org/chromium/media/VideoCapture.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
« no previous file with comments | « no previous file | media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
index 4e0aff02fe021ae8989d97f386539e1a1da27173..42931f333bb4ca9f8eb7436b9adac71ad50ac356 100644
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
@@ -33,8 +33,6 @@
protected final int mId;
// Native callback context variable.
protected final long mNativeVideoCaptureDeviceAndroid;
-
- protected boolean mUseBackgroundThreadForTesting = false;
VideoCapture(Context context, int id, long nativeVideoCaptureDeviceAndroid) {
mContext = context;
@@ -111,11 +109,6 @@
}
}
- @CalledByNative
- public final void setTestMode() {
- mUseBackgroundThreadForTesting = true;
- }
-
protected final int getCameraRotation() {
int rotation = mInvertDeviceOrientationReadings ? (360 - getDeviceRotation())
: getDeviceRotation();
« no previous file with comments | « no previous file | media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698