am dbc61779: Fix build breakage

* commit 'dbc61779858dbb209059748e2c4eb0e6b228090c':
  Fix build breakage
This commit is contained in:
Tadashi G. Takaoka 2011-01-20 22:52:28 -08:00 committed by Android Git Automerger
commit f7b2ddb9f8

View file

@ -98,7 +98,7 @@ public class SuggestHelper {
boolean isDefaultCorrection(CharSequence typed, CharSequence expected) {
WordComposer word = createWordComposer(typed);
SuggestedWords suggestions = mSuggest.getSuggestions(null, word, null);
return isDefaultSuggestion(suggestions, expected) && mSuggest.hasMinimalCorrection();
return isDefaultSuggestion(suggestions, expected) && mSuggest.hasAutoCorrection();
}
boolean isASuggestion(CharSequence typed, CharSequence expected) {
@ -130,7 +130,7 @@ public class SuggestHelper {
WordComposer word = createWordComposer(typed);
getBigramSuggestions(previous, typed);
SuggestedWords suggestions = mSuggest.getSuggestions(null, word, previous);
return isDefaultSuggestion(suggestions, expected) && mSuggest.hasMinimalCorrection();
return isDefaultSuggestion(suggestions, expected) && mSuggest.hasAutoCorrection();
}
boolean isASuggestion(CharSequence previous, CharSequence typed,