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

Skip to content
Commit bb0a2247 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove dependency on IME subtype from TSMS

Now that we are going to reduce the dependency on InputMethodSubtype
everywhere, TextServicesManagerService#getCurrentSpellCheckerSubtype()
is a good candidate to clean up.

Given that imm.getCurrentInputMethodSubtype().getLocale() is not that
reliable, always using the fallback logic to use the system locale is
less likely to make things worse.

Also, directly calling IME API from TextServicesManagerService have
caused multiple issues like Bug 28889203 and Bug 31273203.  Removing
this API call should have positive impact on code health and system
stability.

Fix: 110275412
Test: Manually verified that spell checker still works
Change-Id: Ic222b21ce5ec4fc17b338eb5519e6928d853c8b6
parent 1235c24a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment