aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src/com/android
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-08-21 21:16:57 -0700
committerYohei Yukawa <yukawa@google.com>2014-08-21 21:39:15 -0700
commitcabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e (patch)
treee2893838a78632694c443c6d9a50277ba29f221b /java-overridable/src/com/android
parent8e2fcaa33411e7cf12bc66ff8171e5466b804950 (diff)
downloadlatinime-cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e.tar.gz
latinime-cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e.tar.xz
latinime-cabb66e9bc2d5c13d83ccae6ce2d2e673b6ebf0e.zip
follow-up to API change in I4a577bfd02b37b
BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
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;