Index: base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java |
diff --git a/base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java b/base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java |
index 9049cb0565e4ff4323d65da53c9d3df1dc4f93d3..3d036c2099be26d1f761f4e2ff9a7ade621a32c6 100644 |
--- a/base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java |
+++ b/base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java |
@@ -12,6 +12,7 @@ |
import android.os.Build; |
import android.support.multidex.MultiDex; |
+import org.chromium.base.BuildConfig; |
import org.chromium.base.Log; |
import org.chromium.base.VisibleForTesting; |
@@ -47,6 +48,8 @@ |
*/ |
@VisibleForTesting |
public static void install(Context context) { |
+ if (!BuildConfig.isMultidexEnabled()) return; |
+ |
// TODO(jbudorick): Back out this version check once support for K & below works. |
// http://crbug.com/512357 |
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP |