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

Unified Diff: remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java

Issue 1873383002: [remoting android] Move JNI loading to Application.onCreate() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@android-host-add-native
Patch Set: rebase, (c) 2016 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
« no previous file with comments | « remoting/android/BUILD.gn ('k') | remoting/android/host/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java
diff --git a/remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java b/remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java
index 7ebc667bd834150cecce56da9f895d172b15863f..2a7176d511b74adab2569debd368e2286924d75d 100644
--- a/remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java
+++ b/remoting/android/apk/src/org/chromium/chromoting/RemotingApplication.java
@@ -9,12 +9,15 @@ import android.app.Application;
import org.chromium.chromoting.accountswitcher.AccountSwitcherFactory;
import org.chromium.chromoting.help.HelpAndFeedbackBasic;
import org.chromium.chromoting.help.HelpSingleton;
+import org.chromium.chromoting.jni.JniInterface;
/** Main context for the application. */
public class RemotingApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
+ JniInterface.loadLibrary(this);
+
AccountSwitcherFactory.setInstance(new AccountSwitcherFactory());
HelpSingleton.setInstance(new HelpAndFeedbackBasic());
}
« no previous file with comments | « remoting/android/BUILD.gn ('k') | remoting/android/host/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698