aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-28 20:10:19 +0900
committerJean Chalard <jchalard@google.com>2012-07-02 15:46:03 +0900
commit90d300c770b1697af5b715e55fa87d97e22588d2 (patch)
tree9a1ce1f017e28f1011b709f08da685a8c820c451 /java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java
parent2631e3b1954eb0f9ddd637f8ad89fd0eff495c77 (diff)
downloadlatinime-90d300c770b1697af5b715e55fa87d97e22588d2.tar.gz
latinime-90d300c770b1697af5b715e55fa87d97e22588d2.tar.xz
latinime-90d300c770b1697af5b715e55fa87d97e22588d2.zip
Clarify some code and fix a bug (A41)
The test against hasMainDictionary is a test to know if we should auto-correct or not. Its result should be recorded in hasAutoCorrection, not in allowsToBeAutoCorrected. Actually, this value being inserted in allowsToBeAutoCorrected was causing a bug that nobody noticed: when typing in a language with no dictionary, the word in the middle of the suggestion strip would always be bold, as if it was going to auto-correct to itself ! This change fixes this bug. Change-Id: Ia1f08efd7089b9c5cbede910c5b0951d83e698d2
Diffstat (limited to 'java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java')
0 files changed, 0 insertions, 0 deletions