Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1952)

Unified Diff: base/android/java/src/org/chromium/base/BuildInfo.java

Issue 1965953002: 🌒 Remove support for split apks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/build_info.cc ('k') | base/android/java/src/org/chromium/base/PackageUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/BuildInfo.java
diff --git a/base/android/java/src/org/chromium/base/BuildInfo.java b/base/android/java/src/org/chromium/base/BuildInfo.java
index 012f305ffb1c6847cd7a52b47696db8a5f92a0fe..f55c35e78b7f39b61528297d02a574b7cfdacc20 100644
--- a/base/android/java/src/org/chromium/base/BuildInfo.java
+++ b/base/android/java/src/org/chromium/base/BuildInfo.java
@@ -4,7 +4,6 @@
package org.chromium.base;
-import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
@@ -133,21 +132,4 @@ public class BuildInfo {
// Names look like "config.XX".
return splitName.length() == 9 && splitName.startsWith("config.");
}
-
- @TargetApi(Build.VERSION_CODES.LOLLIPOP)
- @CalledByNative
- public static boolean hasLanguageApkSplits(Context context) {
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
- return false;
- }
- PackageInfo packageInfo = PackageUtils.getOwnPackageInfo(context);
- if (packageInfo.splitNames != null) {
- for (int i = 0; i < packageInfo.splitNames.length; ++i) {
- if (isLanguageSplit(packageInfo.splitNames[i])) {
- return true;
- }
- }
- }
- return false;
- }
}
« no previous file with comments | « base/android/build_info.cc ('k') | base/android/java/src/org/chromium/base/PackageUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698