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

Commit bc60116c authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Fix broken language matching logic in TSMS

Checking language similarity with String#startsWith() is fundamentally
broken.  For instance, "fi" (Finnish) can match "fil" (Filipino).

This CL addresses such a broken comparison.

Bug: 110275412
Test: Manually verified that spell checker still works
Change-Id: I8d71760c534627b7707e16eb0fc648989f7692ae
parent bb0a2247
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment