diff options
author | 2012-03-02 20:46:54 +0900 | |
---|---|---|
committer | 2012-03-02 20:46:54 +0900 | |
commit | a83a53ba24ed59d8bff0a9bd1205928ff60d6438 (patch) | |
tree | 672f28a8a757581ffb543142239c62e8dec1abd2 /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | 5edda4111e0bdb7717c6de1d23f6ffa4a8257b21 (diff) | |
download | latinime-a83a53ba24ed59d8bff0a9bd1205928ff60d6438.tar.gz latinime-a83a53ba24ed59d8bff0a9bd1205928ff60d6438.tar.xz latinime-a83a53ba24ed59d8bff0a9bd1205928ff60d6438.zip |
Some renaming
Change-Id: I445277cb3af469a0145a8da0ffb801b7e19048cd
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 { |