From 6a114fa700d3ca73c608e1291b74bbbdd5a1a7b7 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 10 Apr 2013 16:38:37 +0900 Subject: Restart suggestions when the cursor moves. This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48 --- java/src/com/android/inputmethod/latin/Dictionary.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java') diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java index ff3d83fad..9691fa231 100644 --- a/java/src/com/android/inputmethod/latin/Dictionary.java +++ b/java/src/com/android/inputmethod/latin/Dictionary.java @@ -37,6 +37,8 @@ public abstract class Dictionary { public static final String TYPE_USER = "user"; // User history dictionary internal to LatinIME. public static final String TYPE_USER_HISTORY = "history"; + // Spawned by resuming suggestions. Comes from a span that was in the TextView. + public static final String TYPE_RESUMED = "resumed"; protected final String mDictType; public Dictionary(final String dictType) { -- cgit v1.2.3-83-g751a