Skip to content
Snippets Groups Projects
Commit 48511490 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Add a new production flag for Cursor/Anchor monitor

BUG: 13891796
Change-Id: I3565ca22aaf1d3cfce4f35999e2990b2df5157ef
parent f9d8ba3a
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,12 @@ public final class ProductionFlag { ...@@ -30,6 +30,12 @@ public final class ProductionFlag {
public static final boolean IS_HARDWARE_KEYBOARD_SUPPORTED = false; 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}. // Include all suggestions from all dictionaries in {@link SuggestedWords#mRawSuggestions}.
public static final boolean INCLUDE_RAW_SUGGESTIONS = false; public static final boolean INCLUDE_RAW_SUGGESTIONS = false;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment