Commit 389b748e authored by Todd Kennedy's avatar Todd Kennedy Committed by android-build-team Robot
Browse files

Always use en_US for string ops

Some languages, such as Turkish, do not handle casing well. So,
when this is set as the default language, any code that uses
toLowerCase() or toUpperCase() will get potentially incorrect
values.

In this case, we only do these operations on internal names
so we can safely use the en_US locale for all case operations.

Bug: 132320580
Test: Manual. Change locale to tr_TR and device reboots
Change-Id: Idb28452cb035e27d04a3fe52adbf93d88043334c
(cherry picked from commit 93d233e1ef436842d30bbca0515f0610f32baa9c)
parent ad66c802
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment