diff options
author | 2012-03-04 17:26:22 -0800 | |
---|---|---|
committer | 2012-03-04 17:26:22 -0800 | |
commit | c2136c4e632d4542cd806d7b91a4504c11a04768 (patch) | |
tree | 174e799d7bc50f1aee5c2bf6eefb6198880d5e2b /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | 0af449aa6442fec56afd06ced93041aa794e7c53 (diff) | |
parent | a83a53ba24ed59d8bff0a9bd1205928ff60d6438 (diff) | |
download | latinime-c2136c4e632d4542cd806d7b91a4504c11a04768.tar.gz latinime-c2136c4e632d4542cd806d7b91a4504c11a04768.tar.xz latinime-c2136c4e632d4542cd806d7b91a4504c11a04768.zip |
Merge "Some renaming"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index 993ae3b42..78922978a 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -32,7 +32,7 @@ public class SuggestedWords { public final boolean mHasAutoCorrectionCandidate; public final boolean mIsPunctuationSuggestions; private final List<SuggestedWordInfo> mSuggestedWordInfoList; - private boolean mShouldBlockAutoCorrection; + private boolean mShouldBlockAutoCorrectionBySafetyNet; private SuggestedWords(List<CharSequence> words, boolean typedWordValid, boolean hasAutoCorrectionCandidate, boolean isPunctuationSuggestions, @@ -46,7 +46,7 @@ public class SuggestedWords { mHasAutoCorrectionCandidate = hasAutoCorrectionCandidate; mIsPunctuationSuggestions = isPunctuationSuggestions; mSuggestedWordInfoList = suggestedWordInfoList; - mShouldBlockAutoCorrection = false; + mShouldBlockAutoCorrectionBySafetyNet = false; } public int size() { @@ -69,12 +69,12 @@ public class SuggestedWords { return mIsPunctuationSuggestions; } - public void setShouldBlockAutoCorrection() { - mShouldBlockAutoCorrection = true; + public void setShouldBlockAutoCorrectionBySatefyNet() { + mShouldBlockAutoCorrectionBySafetyNet = true; } - public boolean shouldBlockAutoCorrection() { - return mShouldBlockAutoCorrection; + public boolean shouldBlockAutoCorrectionBySafetyNet() { + return mShouldBlockAutoCorrectionBySafetyNet; } public static class Builder { |