Skip to content

Commit

Permalink
Switch to AGP generated locale config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lambada10 committed Nov 23, 2024
1 parent a9f1560 commit bd19cce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ android {
versionCode = 421
versionName = "4.2.1"

resourceConfigurations += arrayOf(
"ar", "de", "es", "en", "fa", "fil", "in", "ja", "pl", "pt", "pt-rBR", "ro", "tr", "vi", "zh-rCN", "zh-rTW"
)

vectorDrawables {
useSupportLibrary = true
}
}
androidResources {
generateLocaleConfig = true
}
signingConfigs {
create("release") {
if (System.getenv("RELEASE_STORE_FILE") != null) {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:localeConfig="@xml/locales_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.SongSync"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualifiedResLocale = en-US
14 changes: 0 additions & 14 deletions app/src/main/res/xml/locales_config.xml

This file was deleted.

0 comments on commit bd19cce

Please sign in to comment.