diff options
Diffstat (limited to 'src/com/android/settings/inputmethod/SpellCheckerUtils.java')
-rw-r--r-- | src/com/android/settings/inputmethod/SpellCheckerUtils.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/settings/inputmethod/SpellCheckerUtils.java b/src/com/android/settings/inputmethod/SpellCheckerUtils.java index 09f3a24..fe761a6 100644 --- a/src/com/android/settings/inputmethod/SpellCheckerUtils.java +++ b/src/com/android/settings/inputmethod/SpellCheckerUtils.java @@ -31,7 +31,11 @@ public class SpellCheckerUtils { public static void setCurrentSpellChecker(TextServicesManager tsm, SpellCheckerInfo info) { } public static SpellCheckerInfo getCurrentSpellChecker(TextServicesManager tsm) { - return null; + final SpellCheckerInfo retval = tsm.getCurrentSpellChecker(); + if (DBG) { + Log.d(TAG, "getCurrentSpellChecker: " + retval); + } + return retval; } public static SpellCheckerInfo[] getEnabledSpellCheckers(TextServicesManager tsm) { final SpellCheckerInfo[] retval = tsm.getEnabledSpellCheckers(); |