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 d5a13853a747e48654e0debc64db3413d42b80a7..2027f0d5b599d8f0e0f268174a9aa5b766b37f22 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 |
@@ -24,8 +24,9 @@ public class Host { |
* @param context The Application context. |
*/ |
public static void loadLibrary(Context context) { |
+ ContextUtils.initApplicationContext(context.getApplicationContext()); |
System.loadLibrary("remoting_host_jni"); |
- ContextUtils.initApplicationContext(context); |
+ ContextUtils.initApplicationContextForNative(); |
} |
public Host() { |