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

Unified Diff: talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java

Issue 1399473003: Revert "Add option to print peer connection factory Java stack traces." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 | talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
diff --git a/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
index 9fdd41af9a4b085cc5411d697b5227c7e3f503fc..7ec86b005b76bb53a9a6142d1a0a0a0de70b03ab 100644
--- a/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
+++ b/talk/app/webrtc/java/android/org/webrtc/VideoCapturerAndroid.java
@@ -35,6 +35,7 @@ import android.opengl.EGLContext;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.SystemClock;
+import android.text.StaticLayout;
import android.view.Surface;
import android.view.WindowManager;
@@ -216,18 +217,6 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba
return capturer;
}
- public void printStackTrace() {
- if (cameraThread != null) {
- StackTraceElement[] cameraStackTraces = cameraThread.getStackTrace();
- if (cameraStackTraces.length > 0) {
- Logging.d(TAG, "VideoCapturerAndroid stacks trace:");
- for (StackTraceElement stackTrace : cameraStackTraces) {
- Logging.d(TAG, stackTrace.toString());
- }
- }
- }
- }
-
// Switch camera to the next valid camera id. This can only be called while
// the camera is running.
public void switchCamera(final CameraSwitchHandler handler) {
« no previous file with comments | « no previous file | talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698