You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
994 B

diff --git a/base/android/java/src/org/chromium/base/ContextUtils.java b/base/android/java/src/org/chromium/base/ContextUtils.java
index 8284cd1..c648e01 100644
--- a/base/android/java/src/org/chromium/base/ContextUtils.java
+++ b/base/android/java/src/org/chromium/base/ContextUtils.java
@@ -100,9 +100,10 @@ public class ContextUtils {
// that use Robolectric and set the application context manually. Instead of changing all
// tests that do so, the call was put here instead.
// TODO(mheikal): Require param to be of type Application
- if (appContext instanceof Application) {
- ApplicationStatus.initialize((Application) appContext);
- }
+ // Disabled on libchrome
+ // if (appContext instanceof Application) {
+ // ApplicationStatus.initialize((Application) appContext);
+ // }
initJavaSideApplicationContext(appContext);
Holder.sSharedPreferences = fetchAppSharedPreferences();
}