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

Skip to content
Commit 2327e83c authored by Mustafa Karatas's avatar Mustafa Karatas Committed by Luca Stefani
Browse files

Fix No updates found for users with Turkish Locale

There is a problem with Java's toLowerCase() method which returns
"LATIN SMALL LETTER DOTLESS I" for "I" character. This breaks update check
because Utils.getInstalledBuildType() returns "nıghtly (notice dottles small
i)" instead of "nightly".

This change forces toLowerCase() to use ROOT locale which is recommended in
javadocs

There is a note for Turkish locale on javadocs:
http://devdocs.io/openjdk~8/java/lang/string#toLowerCase--



Change-Id: Ifada815202588d67643136846de08f94cefb46a5
Signed-off-by: default avatarMustafa Karatas <mstfkaratas@gmail.com>
parent 87202371
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