aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-27 01:55:45 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-27 01:55:45 -0700
commita238e393b93e4b43e0b70685aff7d8991d4ed288 (patch)
tree6693e384ee0fd23e31f4875cfe6708510f273622 /java/src/com/android/inputmethod/latin/LatinIME.java
parent59c2cb704f6bec2a6d628a7166aa1ce7cf2760d4 (diff)
parent05efe576f976f5fa280f8d523f2935c15cbb9bd1 (diff)
downloadlatinime-a238e393b93e4b43e0b70685aff7d8991d4ed288.tar.gz
latinime-a238e393b93e4b43e0b70685aff7d8991d4ed288.tar.xz
latinime-a238e393b93e4b43e0b70685aff7d8991d4ed288.zip
Merge "Cleanup the dictionary type."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 25b8fd566..f6ba78674 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -499,8 +499,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// If the locale has changed then recreate the contacts dictionary. This
// allows locale dependent rules for handling bigram name predictions.
oldContactsDictionary.close();
- dictionaryToUse = new ContactsBinaryDictionary(
- this, Suggest.DIC_CONTACTS, locale);
+ dictionaryToUse = new ContactsBinaryDictionary(this, locale);
} else {
// Make sure the old contacts dictionary is opened. If it is already open,
// this is a no-op, so it's safe to call it anyways.
@@ -508,7 +507,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
dictionaryToUse = oldContactsDictionary;
}
} else {
- dictionaryToUse = new ContactsBinaryDictionary(this, Suggest.DIC_CONTACTS, locale);
+ dictionaryToUse = new ContactsBinaryDictionary(this, locale);
}
}