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

Unified Diff: webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java

Issue 1992213002: Replace LooperExecutor with built-in class in Android AppRTC Demo (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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: webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java
index 731630405a0d1f279ae76e32935cd8e6ce96d8d5..6e2b251133091c080336579f4c287bea0d8e375b 100644
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/util/LooperExecutor.java
@@ -19,7 +19,8 @@ import java.util.List;
import java.util.concurrent.Executor;
/**
- * Looper based executor class.
+ * Looper based executor class. This is needed because WebSocketClient from autobanh requires the
+ * thread to have a looper. The class is used in WebSocketRTCClient/WebSocketChannelClient.
*/
public class LooperExecutor extends Thread implements Executor {
private static final String TAG = "LooperExecutor";

Powered by Google App Engine
This is Rietveld 408576698