Add a new production flag for Cursor/Anchor monitor

BUG: 13891796
Change-Id: I3565ca22aaf1d3cfce4f35999e2990b2df5157ef
main
Yohei Yukawa 2014-04-09 19:18:10 +09:00
parent f9d8ba3ada
commit 485114905e
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}