diff options
author | 2012-07-11 17:21:37 +0900 | |
---|---|---|
committer | 2012-07-12 15:09:48 +0900 | |
commit | 02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0 (patch) | |
tree | 395046c3f60bc98d6eea4913743d80ebaeb80f91 /java/src/com/android/inputmethod/latin/WordComposer.java | |
parent | ae13061245e6a82863416456a461207d871a89ff (diff) | |
download | latinime-02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0.tar.gz latinime-02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0.tar.xz latinime-02f1c1534c2060aaea7a9a020ce87f6c5ff5d8e0.zip |
Cleanup (A113)
If not composing a word, then consideredWord is always the empty
string.
Hence, it's never whitelisted, but it's also always "NotAWord",
so isWhitelistedOrNotAWord returns always true, so
allowsToBeAutoCorrected is always true. Which means that
isPrediction implies allowsToBeAutoCorrected == true.
Thus, !isPrediction && !allowsToBeAutoCorrected is strictly
equivalent to !allowsToBeAutocorrected.
Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115
Diffstat (limited to 'java/src/com/android/inputmethod/latin/WordComposer.java')
0 files changed, 0 insertions, 0 deletions