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.java10
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java19
2 files changed, 29 insertions, 0 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 5ab126486..9d7258de7 100644
--- a/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
+++ b/java-overridable/src/com/android/inputmethod/latin/define/ProductionFlags.java
@@ -40,4 +40,14 @@ public final class ProductionFlags {
* When false, the metrics logging is not yet ready to be enabled.
*/
public static final boolean IS_METRICS_LOGGING_SUPPORTED = false;
+
+ /**
+ * When {@code false}, the split keyboard is not yet ready to be enabled.
+ */
+ public static final boolean IS_SPLIT_KEYBOARD_SUPPORTED = true;
+
+ /**
+ * When {@code false}, account sign-in in keyboard is not yet ready to be enabled.
+ */
+ public static final boolean ENABLE_ACCOUNT_SIGN_IN = 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 198afebc0..2274852ce 100644
--- a/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
+++ b/java-overridable/src/com/android/inputmethod/latin/utils/StatsUtils.java
@@ -20,8 +20,14 @@ import com.android.inputmethod.latin.RichInputMethodManager;
import com.android.inputmethod.latin.SuggestedWords;
import com.android.inputmethod.latin.settings.SettingsValues;
+import javax.annotation.Nullable;
+
public final class StatsUtils {
+ private StatsUtils() {
+ // Intentional empty constructor.
+ }
+
public static void onCreate(final SettingsValues settingsValues,
RichInputMethodManager richImm) {
}
@@ -50,4 +56,17 @@ public final class StatsUtils {
public static void onRevertSwapPunctuation() {
}
+
+ public static void onFinishInputView() {
+ }
+
+ public static void onCreateInputView() {
+ }
+
+ public static void onStartInputView(int inputType, int displayOrientation, boolean restarting) {
+ }
+
+ public static void onAutoCorrection(final String typedWord, final String autoCorrectionWord,
+ final boolean isBatchInput, @Nullable final String dictionaryType) {
+ }
}