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

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

Issue 2785373004: Remove BuildInfo#isGreaterThanN() (Closed)
Patch Set: Updates for network security config Created 3 years, 9 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
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 03bf4bc769368414dd17f744ed5080d72f7ab1f4..de4ad08a833905862c5a0ae412b5ce1a5c1b1fff 100644
--- a/base/android/java/src/org/chromium/base/BuildInfo.java
+++ b/base/android/java/src/org/chromium/base/BuildInfo.java
@@ -153,13 +153,6 @@ public class BuildInfo {
}
/**
- * @return Whether the current build version is greater than Android N.
- */
- public static boolean isGreaterThanN() {
- return Build.VERSION.SDK_INT > 24 || Build.VERSION.CODENAME.equals("NMR1");
- }
-
- /**
* @return Whether the current device is running Android O release or newer.
*/
public static boolean isAtLeastO() {
« no previous file with comments | « base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java ('k') | build/android/lint/suppressions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698