diff options
author | 2013-08-16 05:02:36 -0700 | |
---|---|---|
committer | 2013-08-16 05:02:36 -0700 | |
commit | f404756b1764a558e883357183df4f1b55a7f9a7 (patch) | |
tree | 38cb65c5fe0fb4d4efe8cb6fcffcd641b803363e /java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java | |
parent | 2b16830322a4a17140d8c6d9f8136ccc05cc5d19 (diff) | |
parent | c2f2d0d211fe4c765cda7a770004d061ff2b7711 (diff) | |
download | latinime-f404756b1764a558e883357183df4f1b55a7f9a7.tar.gz latinime-f404756b1764a558e883357183df4f1b55a7f9a7.tar.xz latinime-f404756b1764a558e883357183df4f1b55a7f9a7.zip |
am c2f2d0d2: Merge "Limit the number of waiting UpdateBinaryTask to at most 1."
* commit 'c2f2d0d211fe4c765cda7a770004d061ff2b7711':
Limit the number of waiting UpdateBinaryTask to at most 1.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java b/java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java index d11784454..b8db75f90 100644 --- a/java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java +++ b/java/src/com/android/inputmethod/latin/personalization/UserHistoryPredictionDictionary.java @@ -26,7 +26,8 @@ import android.content.SharedPreferences; * cancellation or manual picks. This allows the keyboard to adapt to the typist over time. */ public class UserHistoryPredictionDictionary extends DynamicPredictionDictionaryBase { - private static final String NAME = UserHistoryPredictionDictionary.class.getSimpleName(); + /* package for tests */ static final String NAME = + UserHistoryPredictionDictionary.class.getSimpleName(); /* package */ UserHistoryPredictionDictionary(final Context context, final String locale, final SharedPreferences sp) { super(context, locale, sp, Dictionary.TYPE_USER_HISTORY); |