am f7b2ddb9: am dbc61779: Fix build breakage

* commit 'f7b2ddb9f82487f4c2cb030abc73f2b793334b81':
  Fix build breakage
main
Tadashi G. Takaoka 2011-01-21 11:00:31 -08:00 committed by Android Git Automerger
commit 04e247be84
1 changed files with 2 additions and 2 deletions

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,