aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java
index 60b55f58e..7ce1049d7 100644
--- a/java/src/com/android/inputmethod/latin/SuggestedWords.java
+++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java
@@ -33,7 +33,7 @@ public class SuggestedWords {
public final boolean mAllowsToBeAutoCorrected;
private final List<SuggestedWordInfo> mSuggestedWordInfoList;
- private SuggestedWords(final List<SuggestedWordInfo> suggestedWordInfoList,
+ public SuggestedWords(final List<SuggestedWordInfo> suggestedWordInfoList,
final boolean typedWordValid,
final boolean hasAutoCorrectionCandidate,
final boolean allowsToBeAutoCorrected,
@@ -76,21 +76,6 @@ public class SuggestedWords {
+ " mIsPunctuationSuggestions=" + mIsPunctuationSuggestions;
}
- public static SuggestedWords getSuggestedWords(
- final List<SuggestedWordInfo> suggestedWordInfoList,
- final boolean typedWordValid,
- final boolean hasMinimalSuggestion,
- final boolean allowsToBeAutoCorrected,
- final boolean isPunctuationSuggestions,
- final boolean shouldBlockAutoCorrectionBySafetyNet) {
- return new SuggestedWords(suggestedWordInfoList,
- typedWordValid,
- hasMinimalSuggestion,
- allowsToBeAutoCorrected,
- isPunctuationSuggestions,
- shouldBlockAutoCorrectionBySafetyNet);
- }
-
public static ArrayList<SuggestedWordInfo> getFromCharSequenceList(
final List<CharSequence> wordList) {
final ArrayList<SuggestedWordInfo> result = new ArrayList<SuggestedWordInfo>();