Add a new production flag for Cursor/Anchor monitor
BUG: 13891796
Change-Id: I3565ca22aaf1d3cfce4f35999e2990b2df5157ef
diff --git a/java/src/com/android/inputmethod/latin/define/ProductionFlag.java b/java/src/com/android/inputmethod/latin/define/ProductionFlag.java
index e6fa1cd..af899c0 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 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;
}