Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b59fcd51 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Add a functionality to disable the spell checker"

parents c593380d 0158a1e9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -87,6 +87,11 @@ public final class TextServicesManager {
            throw new IllegalArgumentException("Locale should not be null if you don't refer"
                    + " settings.");
        }

        if (referToSpellCheckerLanguageSettings && !isSpellCheckerEnabled()) {
            return null;
        }

        final SpellCheckerInfo sci;
        try {
            sci = sService.getCurrentSpellChecker(null);