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

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

Issue 973403002: Address NewApi warnings in src/ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/ApiCompatibilityUtils.java
diff --git a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
index c03cad2782bf443816b3ce25919582bdf9dc389b..4198853e168917eb931e62098fa36db220e99268 100644
--- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
+++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
@@ -72,13 +72,6 @@ public class ApiCompatibilityUtils {
}
/**
- * @return True if the running version of the Android supports HTML clipboard.
- */
- public static boolean isHTMLClipboardSupported() {
- return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
- }
-
- /**
* @see android.view.View#setLayoutDirection(int)
*/
public static void setLayoutDirection(View view, int layoutDirection) {
« no previous file with comments | « no previous file | ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java » ('j') | ui/gl/android/surface_texture.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698