aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/com
diff options
context:
space:
mode:
authorTom Ouyang <ouyang@google.com>2015-02-18 17:50:33 -0800
committerTom Ouyang <ouyang@google.com>2015-02-19 12:03:42 -0800
commitedea47ff2e901d02b381bf88aa6cb35c4b5ee811 (patch)
treebe0b468ea580c97689cd02e221b3224ff85bf035 /common/src/com
parent95711bfcee07d848883316cf07439408f5b332a1 (diff)
downloadlatinime-edea47ff2e901d02b381bf88aa6cb35c4b5ee811.tar.gz
latinime-edea47ff2e901d02b381bf88aa6cb35c4b5ee811.tar.xz
latinime-edea47ff2e901d02b381bf88aa6cb35c4b5ee811.zip
Add more options for calling removeWordFromPersonalizedDicts.
Bug: 19441205 Change-Id: I41aff536a64271d2dc9489a20df33d64170756cc
Diffstat (limited to 'common/src/com')
-rw-r--r--common/src/com/android/inputmethod/latin/common/Constants.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/com/android/inputmethod/latin/common/Constants.java b/common/src/com/android/inputmethod/latin/common/Constants.java
index 03abb0fdd..b491c8cfd 100644
--- a/common/src/com/android/inputmethod/latin/common/Constants.java
+++ b/common/src/com/android/inputmethod/latin/common/Constants.java
@@ -325,6 +325,10 @@ public final class Constants {
public static final int DECODER_SCORE_SCALAR = 1000000;
public static final int DECODER_MAX_SCORE = 1000000000;
+ public static final int EVENT_BACKSPACE = 1;
+ public static final int EVENT_REJECTION = 2;
+ public static final int EVENT_REVERT = 3;
+
private Constants() {
// This utility class is not publicly instantiable.
}