aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/TextInfoCompatUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Simplify the wrapper for TextInfo#getCharSequence•••This CL simplifies the wrapper method for TextInfo#getCharSequence() because in the almost all cases we want to use the result of TextInfo#getText() as the default value. BUG: 16029304 Change-Id: I62f987aed8ca42b093255e6c0703d6120fa01299 Yohei Yukawa2014-07-091-3/+11
* Add a compatibility utility class for TextInfo•••This is a groundwork for enabling LocaleSpan support in spell checker service. TextInfo#getCharSequence is supposed to be available in API Level 21 and later. We need some abstraction layer as usual. BUG: 16029304 Change-Id: Iafbf2877db393dbd040295c21d429334e3a13a5f Yohei Yukawa2014-07-081-0/+59