diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b45b5e4a..f40c7da5 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -58,7 +58,6 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted android:allowBackup="false" android:dataExtractionRules="@xml/data_extraction_rules" android:networkSecurityConfig="@xml/network_security_config" - android:localeConfig="@xml/locales_config" android:theme="@style/KdeConnectTheme.NoActionBar" android:name="org.kde.kdeconnect.KdeConnect" android:enableOnBackInvokedCallback="true"> diff --git a/build.gradle.kts b/build.gradle.kts index a00ab0d9..7e702083 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -64,6 +64,9 @@ android { jvmTarget = "1.8" } + androidResources { + generateLocaleConfig = true + } sourceSets { getByName("main") { manifest.srcFile("AndroidManifest.xml") diff --git a/res/resources.properties b/res/resources.properties new file mode 100644 index 00000000..467b3efe --- /dev/null +++ b/res/resources.properties @@ -0,0 +1 @@ +unqualifiedResLocale=en-US diff --git a/res/xml/locales_config.xml b/res/xml/locales_config.xml deleted file mode 100644 index 4a69c554..00000000 --- a/res/xml/locales_config.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -