aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-10-22 02:01:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-22 02:01:32 +0000
commitbaecaa54114300dd2b3aceff480895bf1e42746f (patch)
treea0fd48c2313276cc1208b9ee83b8c620d8bbc241 /java/src/com/android/inputmethod/latin/utils
parent63cbdf49b91d2b588de71538afd20d1d34fc1746 (diff)
parent66d30a4b226556f2f58b3701c6bc1974384486db (diff)
downloadlatinime-baecaa54114300dd2b3aceff480895bf1e42746f.tar.gz
latinime-baecaa54114300dd2b3aceff480895bf1e42746f.tar.xz
latinime-baecaa54114300dd2b3aceff480895bf1e42746f.zip
Merge "Remove BuildCompatUtils.VERSION_CODES_LXX"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils')
-rw-r--r--java/src/com/android/inputmethod/latin/utils/CursorAnchorInfoUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/utils/CursorAnchorInfoUtils.java b/java/src/com/android/inputmethod/latin/utils/CursorAnchorInfoUtils.java
index 6c1449cee..c90d30c42 100644
--- a/java/src/com/android/inputmethod/latin/utils/CursorAnchorInfoUtils.java
+++ b/java/src/com/android/inputmethod/latin/utils/CursorAnchorInfoUtils.java
@@ -96,7 +96,7 @@ public final class CursorAnchorInfoUtils {
@Nullable
public static CursorAnchorInfoCompatWrapper extractFromTextView(
@Nonnull final TextView textView) {
- if (Build.VERSION.SDK_INT < BuildCompatUtils.VERSION_CODES_LXX) {
+ if (BuildCompatUtils.EFFECTIVE_SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
return null;
}
return CursorAnchorInfoCompatWrapper.wrap(extractFromTextViewInternal(textView));
@@ -108,7 +108,7 @@ public final class CursorAnchorInfoUtils {
* @return the {@link CursorAnchorInfo} object based on the current layout. {@code null} if it
* is not feasible.
*/
- @TargetApi(BuildCompatUtils.VERSION_CODES_LXX)
+ @TargetApi(Build.VERSION_CODES.LOLLIPOP)
@Nullable
private static CursorAnchorInfo extractFromTextViewInternal(@Nonnull final TextView textView) {
final Layout layout = textView.getLayout();