Remove a useless parameter (A29)
Change-Id: I52625e707abf61da9b95e542f0814c66b532f483
This commit is contained in:
parent
4f444410f2
commit
0a63111821
4 changed files with 1 additions and 6 deletions
|
@ -887,7 +887,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
applicationSuggestedWords,
|
||||
false /* typedWordValid */,
|
||||
false /* hasAutoCorrectionCandidate */,
|
||||
false /* allowsToBeAutoCorrected */,
|
||||
false /* isPunctuationSuggestions */,
|
||||
false /* isObsoleteSuggestions */,
|
||||
false /* isPrediction */);
|
||||
|
@ -1733,7 +1732,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
new SuggestedWords(typedWordAndPreviousSuggestions,
|
||||
false /* typedWordValid */,
|
||||
false /* hasAutoCorrectionCandidate */,
|
||||
false /* allowsToBeAutoCorrected */,
|
||||
false /* isPunctuationSuggestions */,
|
||||
true /* isObsoleteSuggestions */,
|
||||
false /* isPrediction */);
|
||||
|
|
|
@ -186,7 +186,6 @@ public class SettingsValues {
|
|||
return new SuggestedWords(puncList,
|
||||
false /* typedWordValid */,
|
||||
false /* hasAutoCorrectionCandidate */,
|
||||
false /* allowsToBeAutoCorrected */,
|
||||
true /* isPunctuationSuggestions */,
|
||||
false /* isObsoleteSuggestions */,
|
||||
false /* isPrediction */);
|
||||
|
|
|
@ -306,7 +306,6 @@ public class Suggest {
|
|||
// rename the attribute or change the value.
|
||||
!isPrediction && !allowsToBeAutoCorrected /* typedWordValid */,
|
||||
!isPrediction && autoCorrectionAvailable /* hasAutoCorrectionCandidate */,
|
||||
!isPrediction && allowsToBeAutoCorrected /* allowsToBeAutoCorrected */,
|
||||
false /* isPunctuationSuggestions */,
|
||||
false /* isObsoleteSuggestions */,
|
||||
isPrediction);
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.HashSet;
|
|||
|
||||
public class SuggestedWords {
|
||||
public static final SuggestedWords EMPTY = new SuggestedWords(
|
||||
new ArrayList<SuggestedWordInfo>(0), false, false, false, false, false, false);
|
||||
new ArrayList<SuggestedWordInfo>(0), false, false, false, false, false);
|
||||
|
||||
public final boolean mTypedWordValid;
|
||||
public final boolean mHasAutoCorrectionCandidate;
|
||||
|
@ -37,7 +37,6 @@ public class SuggestedWords {
|
|||
public SuggestedWords(final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
|
||||
final boolean typedWordValid,
|
||||
final boolean hasAutoCorrectionCandidate,
|
||||
final boolean allowsToBeAutoCorrected,
|
||||
final boolean isPunctuationSuggestions,
|
||||
final boolean isObsoleteSuggestions,
|
||||
final boolean isPrediction) {
|
||||
|
|
Loading…
Reference in a new issue