aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-04-09 12:39:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-09 12:39:37 +0000
commit8225873e1412555c9b938d197371104776a4c7f4 (patch)
tree750cdf3f9fbc32c99f78229665f32592bc7324b5 /java/src
parentf0eac04015271442fc28bc794bf0ff735e29112c (diff)
parenta4ac18551f6bf6ca7ee84139e8cea3656a4a8b86 (diff)
downloadlatinime-8225873e1412555c9b938d197371104776a4c7f4.tar.gz
latinime-8225873e1412555c9b938d197371104776a4c7f4.tar.xz
latinime-8225873e1412555c9b938d197371104776a4c7f4.zip
am a4ac1855: Merge "Add a new production flag for Cursor/Anchor monitor"
* commit 'a4ac18551f6bf6ca7ee84139e8cea3656a4a8b86': Add a new production flag for Cursor/Anchor monitor
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/define/ProductionFlag.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/define/ProductionFlag.java b/java/src/com/android/inputmethod/latin/define/ProductionFlag.java
index e6fa1cdad..af899c040 100644
--- a/java/src/com/android/inputmethod/latin/define/ProductionFlag.java
+++ b/java/src/com/android/inputmethod/latin/define/ProductionFlag.java
@@ -30,6 +30,12 @@ public final class ProductionFlag {
public static final boolean IS_HARDWARE_KEYBOARD_SUPPORTED = false;
+ // When true, enable {@link InputMethodService#onUpdateCursor} callback with
+ // {@link InputMethodService#setCursorAnchorMonitorMode}, which is not yet available in
+ // API level 19. Do not turn this on in production until the new API becomes publicly
+ // available.
+ public static final boolean USES_CURSOR_ANCHOR_MONITOR = false;
+
// Include all suggestions from all dictionaries in {@link SuggestedWords#mRawSuggestions}.
public static final boolean INCLUDE_RAW_SUGGESTIONS = false;
}