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,
|
applicationSuggestedWords,
|
||||||
false /* typedWordValid */,
|
false /* typedWordValid */,
|
||||||
false /* hasAutoCorrectionCandidate */,
|
false /* hasAutoCorrectionCandidate */,
|
||||||
false /* allowsToBeAutoCorrected */,
|
|
||||||
false /* isPunctuationSuggestions */,
|
false /* isPunctuationSuggestions */,
|
||||||
false /* isObsoleteSuggestions */,
|
false /* isObsoleteSuggestions */,
|
||||||
false /* isPrediction */);
|
false /* isPrediction */);
|
||||||
|
@ -1733,7 +1732,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
new SuggestedWords(typedWordAndPreviousSuggestions,
|
new SuggestedWords(typedWordAndPreviousSuggestions,
|
||||||
false /* typedWordValid */,
|
false /* typedWordValid */,
|
||||||
false /* hasAutoCorrectionCandidate */,
|
false /* hasAutoCorrectionCandidate */,
|
||||||
false /* allowsToBeAutoCorrected */,
|
|
||||||
false /* isPunctuationSuggestions */,
|
false /* isPunctuationSuggestions */,
|
||||||
true /* isObsoleteSuggestions */,
|
true /* isObsoleteSuggestions */,
|
||||||
false /* isPrediction */);
|
false /* isPrediction */);
|
||||||
|
|
|
@ -186,7 +186,6 @@ public class SettingsValues {
|
||||||
return new SuggestedWords(puncList,
|
return new SuggestedWords(puncList,
|
||||||
false /* typedWordValid */,
|
false /* typedWordValid */,
|
||||||
false /* hasAutoCorrectionCandidate */,
|
false /* hasAutoCorrectionCandidate */,
|
||||||
false /* allowsToBeAutoCorrected */,
|
|
||||||
true /* isPunctuationSuggestions */,
|
true /* isPunctuationSuggestions */,
|
||||||
false /* isObsoleteSuggestions */,
|
false /* isObsoleteSuggestions */,
|
||||||
false /* isPrediction */);
|
false /* isPrediction */);
|
||||||
|
|
|
@ -306,7 +306,6 @@ public class Suggest {
|
||||||
// rename the attribute or change the value.
|
// rename the attribute or change the value.
|
||||||
!isPrediction && !allowsToBeAutoCorrected /* typedWordValid */,
|
!isPrediction && !allowsToBeAutoCorrected /* typedWordValid */,
|
||||||
!isPrediction && autoCorrectionAvailable /* hasAutoCorrectionCandidate */,
|
!isPrediction && autoCorrectionAvailable /* hasAutoCorrectionCandidate */,
|
||||||
!isPrediction && allowsToBeAutoCorrected /* allowsToBeAutoCorrected */,
|
|
||||||
false /* isPunctuationSuggestions */,
|
false /* isPunctuationSuggestions */,
|
||||||
false /* isObsoleteSuggestions */,
|
false /* isObsoleteSuggestions */,
|
||||||
isPrediction);
|
isPrediction);
|
||||||
|
|
|
@ -25,7 +25,7 @@ import java.util.HashSet;
|
||||||
|
|
||||||
public class SuggestedWords {
|
public class SuggestedWords {
|
||||||
public static final SuggestedWords EMPTY = new 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 mTypedWordValid;
|
||||||
public final boolean mHasAutoCorrectionCandidate;
|
public final boolean mHasAutoCorrectionCandidate;
|
||||||
|
@ -37,7 +37,6 @@ public class SuggestedWords {
|
||||||
public SuggestedWords(final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
|
public SuggestedWords(final ArrayList<SuggestedWordInfo> suggestedWordInfoList,
|
||||||
final boolean typedWordValid,
|
final boolean typedWordValid,
|
||||||
final boolean hasAutoCorrectionCandidate,
|
final boolean hasAutoCorrectionCandidate,
|
||||||
final boolean allowsToBeAutoCorrected,
|
|
||||||
final boolean isPunctuationSuggestions,
|
final boolean isPunctuationSuggestions,
|
||||||
final boolean isObsoleteSuggestions,
|
final boolean isObsoleteSuggestions,
|
||||||
final boolean isPrediction) {
|
final boolean isPrediction) {
|
||||||
|
|
Loading…
Reference in a new issue