diff options
author | 2014-10-21 15:10:07 +0000 | |
---|---|---|
committer | 2014-10-21 15:10:07 +0000 | |
commit | d94645097a8aab6c44c6a20553f81954009dbc5b (patch) | |
tree | 8743018b4a2fe61f16943783f5b2331592e3a69d /java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java | |
parent | 20ae86172e644b1aae97e0ea22c41433bd7ccc9e (diff) | |
parent | 46a007261fcbfbe887e22ecdf16307f95b1e4024 (diff) | |
download | latinime-d94645097a8aab6c44c6a20553f81954009dbc5b.tar.gz latinime-d94645097a8aab6c44c6a20553f81954009dbc5b.tar.xz latinime-d94645097a8aab6c44c6a20553f81954009dbc5b.zip |
am 46a00726: Merge "Fix some compiler warnings"
* commit '46a007261fcbfbe887e22ecdf16307f95b1e4024':
Fix some compiler warnings
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java index 867c18686..974fb14e9 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java @@ -121,12 +121,11 @@ final public class BinaryDictionaryGetter { // reason some dictionaries have been installed BUT the dictionary pack can't be // found anymore it's safer to actually supply installed dictionaries. return true; - } else { - // The default is true here for the same reasons as above. We got the dictionary - // pack but if we don't have any settings for it it means the user has never been - // to the settings yet. So by default, the main dictionaries should be on. - return mDictPreferences.getBoolean(dictId, true); } + // The default is true here for the same reasons as above. We got the dictionary + // pack but if we don't have any settings for it it means the user has never been + // to the settings yet. So by default, the main dictionaries should be on. + return mDictPreferences.getBoolean(dictId, true); } } |