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 b902f937fcbeec518d10c2fd9e8dd0ee1b61fbb7..26ec7b979d29319b63a360a8c93c387ec2432de0 100644 |
--- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
+++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java |
@@ -42,6 +42,13 @@ 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) { |