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

Commit 046cbe75 authored by satok's avatar satok
Browse files

Add a method to set the current spell checker

Change-Id: I0e1fbe99538c873eed3723fb419bbfa626dec509
parent e8f1cbae
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -128,4 +128,15 @@ public final class TextServicesManager {
            return null;
        }
    }

    /**
     * @hide
     */
    public void setCurrentSpellChecker(SpellCheckerInfo info) {
        try {
            sService.setCurrentSpellChecker(info);
        } catch (RemoteException e) {
            Log.e(TAG, "Error in setCurrentSpellChecker: " + e);
        }
    }
}