| Index: content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java
|
| diff --git a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java
|
| index 96e1772e506b77b99ad51b58cfac01d954f6dc1b..c4ed2cad23d2fd67d970de57aad62c5575cf88e8 100644
|
| --- a/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java
|
| +++ b/content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java
|
| @@ -13,6 +13,7 @@ import android.view.View;
|
|
|
| import org.chromium.base.BaseSwitches;
|
| import org.chromium.base.CommandLine;
|
| +import org.chromium.base.ContextUtils;
|
| import org.chromium.base.Log;
|
| import org.chromium.base.annotations.SuppressFBWarnings;
|
| import org.chromium.base.library_loader.LibraryLoader;
|
| @@ -66,6 +67,9 @@ public class ChromiumLinkerTestActivity extends Activity {
|
| }
|
| waitForDebuggerIfNeeded();
|
|
|
| +
|
| + ContextUtils.initApplicationContext(getApplicationContext());
|
| +
|
| // CommandLine.getInstance().hasSwitch() doesn't work here for some funky
|
| // reason, so parse the command-line differently here:
|
| boolean hasLowMemoryDeviceSwitch = false;
|
|
|