Android: remove sdk version check for old version

current Qt version doesn't even support Android sdk 14 and below.

Pick-to: 6.5
Change-Id: I5e06e375d446639211d97f4792401f0f9f8d62f8
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
This commit is contained in:
Assam Boudjelthia 2023-02-25 23:29:12 +02:00
parent 87567f3a46
commit 5a071f5899

View File

@ -121,12 +121,8 @@ public class QtServiceDelegate
QtNative.setEnvironmentVariable("QT_ANDROID_FONTS_SERIF", "Droid Serif");
QtNative.setEnvironmentVariable("HOME", m_service.getFilesDir().getAbsolutePath());
QtNative.setEnvironmentVariable("TMPDIR", m_service.getCacheDir().getAbsolutePath());
if (Build.VERSION.SDK_INT < 14)
QtNative.setEnvironmentVariable("QT_ANDROID_FONTS", "Droid Sans;Droid Sans Fallback");
else
QtNative.setEnvironmentVariable("QT_ANDROID_FONTS",
"Roboto;Droid Sans;Droid Sans Fallback");
QtNative.setEnvironmentVariable("QT_ANDROID_FONTS",
"Roboto;Droid Sans;Droid Sans Fallback");
if (loaderParams.containsKey(APPLICATION_PARAMETERS_KEY))
m_applicationParameters = loaderParams.getString(APPLICATION_PARAMETERS_KEY);