* Fixed locale detection on new Android versions.

git-svn-id: trunk@40200 -
This commit is contained in:
yury 2018-11-03 14:16:21 +00:00
parent d27c16f024
commit 8958d94091

View File

@ -88,6 +88,9 @@ function GetCurrentLocaleStr: utf8string;
var
s: utf8string;
begin
Result:=GetSystemProperty('persist.sys.locale');
if Result <> '' then
exit;
Result:=GetSystemProperty('persist.sys.language');
if Result = '' then
exit;