aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src/com/android
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-08-22 09:17:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-22 09:17:34 +0000
commit96db9222c2c8c728498751221cc92664676dd4f0 (patch)
tree6e8076a56b91667cd97a2c5377bce148f89ad710 /java-overridable/src/com/android
parent8cbc37f2c803fe5854237434742845a7b8ee32b9 (diff)
parentcabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e (diff)
downloadlatinime-96db9222c2c8c728498751221cc92664676dd4f0.tar.gz
latinime-96db9222c2c8c728498751221cc92664676dd4f0.tar.xz
latinime-96db9222c2c8c728498751221cc92664676dd4f0.zip
am cabb66e9: follow-up to API change in I4a577bfd02b37b
* commit 'cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e': follow-up to API change in I4a577bfd02b37b
Diffstat (limited to 'java-overridable/src/com/android')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java17
1 files changed, 4 insertions, 13 deletions
diff --git a/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java b/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
index 461c226a1..5ab126486 100644
--- a/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
+++ b/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
@@ -24,23 +24,14 @@ public final class ProductionFlags {
public static final boolean IS_HARDWARE_KEYBOARD_SUPPORTED = false;
/**
- * When true, enable {@link InputMethodService#onUpdateCursorAnchorInfo} callback via
- * {@link InputConnection#requestCursorAnchorInfo}. This flag has no effect in API Level 20
- * and prior. In general, this callback provides more detailed positional information,
- * even though an explicit support is required by the editor.
+ * When true, enable {@link InputMethodService#onUpdateCursorAnchorInfo} callback via
+ * {@link InputConnection#requestUpdateCursorAnchorInfo}. This flag has no effect in API
+ * Level 20 and prior. In general, this callback provides detailed positional information,
+ * even though an explicit support is required by the editor.
*/
public static final boolean ENABLE_CURSOR_ANCHOR_INFO_CALLBACK = true;
/**
- * When true, enable {@link InputMethodService#onUpdateCursor} callback via
- * {@link InputConnection#requestCursorAnchorInfo}. Although this callback has been available
- * since API Level 3, the callback has never been used until API Level 20. Thus it may or may
- * not work well as expected. Should rely on {@link InputMethodService#onUpdateCursorAnchorInfo}
- * whenever possible since it is supposed to be more reliable and accurate.
- */
- public static final boolean ENABLE_CURSOR_RECT_CALLBACK = false;
-
- /**
* Include all suggestions from all dictionaries in {@link SuggestedWords#mRawSuggestions}.
*/
public static final boolean INCLUDE_RAW_SUGGESTIONS = false;