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

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

Issue 2800353002: Removing unnecessary parameters from initializeAndroidGlobals. (Closed)
Patch Set: Change type of "context" to an actual Android context. Created 3 years, 8 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 | webrtc/pc/test/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
index 5b725fa22c35338f5aa5ea96aa088e8008c3eb65..cfb55d39b665b69b3a21da70bd622fe304df73ef 100644
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
@@ -471,10 +471,8 @@ public class PeerConnectionClient {
});
// Create peer connection factory.
- if (!PeerConnectionFactory.initializeAndroidGlobals(
- context, true, true, peerConnectionParameters.videoCodecHwAcceleration)) {
- events.onPeerConnectionError("Failed to initializeAndroidGlobals");
- }
+ PeerConnectionFactory.initializeAndroidGlobals(
+ context, peerConnectionParameters.videoCodecHwAcceleration);
if (options != null) {
Log.d(TAG, "Factory networkIgnoreMask option: " + options.networkIgnoreMask);
}
« no previous file with comments | « no previous file | webrtc/pc/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698