X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fandroid_webview%2Fjava%2Fsrc%2Forg%2Fchromium%2Fandroid_webview%2FAwBrowserProcess.java;h=f13ecac4583143e94b8371d5076d8126571b7874;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=154179c49b28e30b204df4e00c9e852356983342;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java b/src/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java index 154179c..f13ecac 100644 --- a/src/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java +++ b/src/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java @@ -20,7 +20,8 @@ import java.util.UUID; * Wrapper for the steps needed to initialize the java and native sides of webview chromium. */ public abstract class AwBrowserProcess { - private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "webview"; + public static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "webview"; + private static final String TAG = "AwBrowserProcess"; /** @@ -35,6 +36,10 @@ public abstract class AwBrowserProcess { } catch (ProcessInitException e) { throw new RuntimeException("Cannot load WebView", e); } + // Switch the command line implementation from Java to native. + // It's okay for the WebView to do this before initialization because we have + // setup the JNI bindings by this point. + LibraryLoader.switchCommandLineForWebView(); } /**