Skip to content
Snippets Groups Projects
  1. Jul 05, 2012
  2. Jul 04, 2012
  3. Jul 02, 2012
    • Jean Chalard's avatar
      Fix a bug with the user dictionary locale. · d113fd0b
      Jean Chalard authored
      We internally use the string "zz" to mean no locale, but
      the user dictionary service does not understand that and
      words added with this locale pitifully end being added to
      a "zz" user dictionary, which makes no sense to the user.
      This change fixes things so that words added when the
      keyboard is in a "no locale" layout, the words are added
      to the global, all-locales user dictionary.
      
      Bug: 6645306
      Change-Id: Iec3cdd1fe3d5bc43427a43ef9ae9bf89e12be1f2
      d113fd0b
    • Jean Chalard's avatar
      Refactoring (A43) · 4ca05e24
      Jean Chalard authored
      Change-Id: Ib0b6f36999518096819ada2f19365767cb5f9931
      4ca05e24
    • Jean Chalard's avatar
      Remove useless code (A42) · 7ad088a4
      Jean Chalard authored
      If allowsAutoCorrected is false, there is no point in making
      hasAutoCorrection true, since in the only place where we use
      it again, it's &&'ed with allowsAutoCorrected !
      
      Well that was extremely obscure, good thing refactoring allowed
      to realize this was useless >.>
      
      Change-Id: I34936d445f1ced17c7bd04a9524bf608f9e8b9c8
      7ad088a4
    • Jean Chalard's avatar
      Clarify some code and fix a bug (A41) · 90d300c7
      Jean Chalard authored
      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
      90d300c7
    • Jean Chalard's avatar
      Small refactoring (A39) · 2631e3b1
      Jean Chalard authored
      Change-Id: I3c45b5a6571f986acc7adb3a8fe17b210303f7ea
      2631e3b1
    • Jean Chalard's avatar
      Match calls for future consolidation (A38) · 79f53178
      Jean Chalard authored
      Change-Id: I2b2ab99e801fa8b4b30eab16a8aefb8cfe104ba9
      79f53178
    • Jean Chalard's avatar
      Make the autocorrection scheme more straightforward (A37) · cd288620
      Jean Chalard authored
      Change-Id: I4833ca7e057b8c1f1f22390673cbca0d2433b1bd
      cd288620
    • Jean Chalard's avatar
      Remove a duplicate method (A36) · aba432bf
      Jean Chalard authored
      Bug: 6705473
      Change-Id: Ib6260034b09739b60071e90a018b2dc6be3815d7
      aba432bf
    • Jean Chalard's avatar
      Update log and make a variable private (A35). · 84074cf5
      Jean Chalard authored
      Change-Id: Ib4a8f41dc5941bce46402e1a41a6c21dccb0601f
      84074cf5
  4. Jun 29, 2012
Loading