| Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
|
| diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
|
| index a1c74c7252ae1087c1d73b24bc853a8e9d3901e0..c430bafcb08be963124a890afb8e625aa086e121 100644
|
| --- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
|
| +++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java
|
| @@ -4,6 +4,7 @@
|
|
|
| package org.chromium.content_shell_apk;
|
|
|
| +import org.chromium.base.CommandLine;
|
| import org.chromium.base.PathUtils;
|
| import org.chromium.base.ResourceExtractor;
|
|
|
| @@ -14,6 +15,8 @@
|
| * to be shared across the main activity and the child services created.
|
| */
|
| public class ContentShellApplication extends ContentApplication {
|
| +
|
| + public static final String COMMAND_LINE_FILE = "/data/local/tmp/content-shell-command-line";
|
| /**
|
| * icudtl.dat provides ICU (i18n library) with all the data for its
|
| * operation. We use to link it statically to our binary, but not any more
|
| @@ -37,4 +40,11 @@ public static void initializeApplicationParameters() {
|
| PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
|
| }
|
|
|
| + @Override
|
| + public void initCommandLine() {
|
| + if (!CommandLine.isInitialized()) {
|
| + CommandLine.initFromFile(COMMAND_LINE_FILE);
|
| + }
|
| + }
|
| +
|
| }
|
|
|