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

Skip to content
Commit 0cdae27a authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Don't use substring matching on locales.

We can't assume that all languages will be 2 chars in length.
Language matching will need to parse the language subtag from
the locale, else we might end up matching a languages like
"fi" (finnish) to "fil" (filipino).

bug: 10090157

(cherry picked from commit f72d7c26)

Change-Id: I7139ddc99dd7d71f82ecb2c1e77af077b659a5a5
parent a0c22039
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