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

Unified Diff: remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java

Issue 1934623002: Revert of patch suspect of causing Android GPU builds to start failing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java
diff --git a/remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java b/remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java
index 04c3857e91046925bc30487be6d98a744a92ca8f..e5aff237551f509378283bcaae29384d8e7871e1 100644
--- a/remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java
+++ b/remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java
@@ -30,9 +30,8 @@ public class Host {
* @param context The Application context.
*/
public static void loadLibrary(Context context) {
- ContextUtils.initApplicationContext(context.getApplicationContext());
System.loadLibrary("remoting_host_jni");
- ContextUtils.initApplicationContextForNative();
+ ContextUtils.initApplicationContext(context);
}
public Host() {

Powered by Google App Engine
This is Rietveld 408576698