aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable
diff options
context:
space:
mode:
Diffstat (limited to 'java-overridable')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java17
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java5
2 files changed, 8 insertions, 14 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;
diff --git a/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java b/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
index 79c19d077..95df202db 100644
--- a/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
+++ b/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
@@ -17,13 +17,16 @@
package com.android.inputmethod.latin.utils;
import android.content.Context;
+
+import com.android.inputmethod.latin.RichInputMethodManager;
import com.android.inputmethod.latin.settings.SettingsValues;
public final class StatsUtils {
public static void init(final Context context) {
}
- public static void onCreate(final SettingsValues settingsValues) {
+ public static void onCreate(final SettingsValues settingsValues,
+ RichInputMethodManager richImm) {
}
public static void onLoadSettings(final SettingsValues settingsValues) {