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

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

Issue 1935433002: Revert of Unify application context usage. (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 2027f0d5b599d8f0e0f268174a9aa5b766b37f22..d5a13853a747e48654e0debc64db3413d42b80a7 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,9 +24,8 @@
* @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