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

Unified Diff: webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java

Issue 2810973002: Restore old (deprecated) signature of initializeAndroidGlobals. (Closed)
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
diff --git a/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java b/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
index ed3546f394354310a296c9840af0ffbb3575e8b0..28b3ca72ab9b98e4f74db5d2a7f80bf3955cfc18 100644
--- a/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
+++ b/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
@@ -57,9 +57,9 @@ public class PeerConnectionFactory {
// Older signature of initializeAndroidGlobals. The extra parameters are now meaningless.
@Deprecated
- public static boolean initializeAndroidGlobals(android.content.Context context,
- boolean initializeAudio, boolean initializeVideo, boolean videoHwAcceleration) {
- initializeAndroidGlobals(context, videoHwAcceleration);
+ public static boolean initializeAndroidGlobals(Object context, boolean initializeAudio,
+ boolean initializeVideo, boolean videoHwAcceleration) {
+ initializeAndroidGlobals((android.content.Context) context, videoHwAcceleration);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698