Skip to content

Commit

Permalink
generateLocaleConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardol committed Mar 10, 2024
1 parent dc06e90 commit b450e88
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 35 deletions.
1 change: 0 additions & 1 deletion app/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:localeConfig="@xml/locales_config"
android:supportsRtl="true"
android:theme="@style/AppTheme.NoActionBar"
tools:ignore="HardcodedDebugMode,UnusedAttribute"
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ android {
// See also applicationIdFull in common/build.gradle, must be in sync
applicationId = rootProject.ext.applicationId
vectorDrawables.useSupportLibrary = true
resourceConfigurations += ['ar', 'bs', 'cs', 'ca', 'de', 'en', 'es', 'fa', 'fi', 'fr', 'hu', 'id', 'in', 'it', 'iw', 'ja', 'lt', 'mn', 'nb', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'tr', 'uk', 'zh']
// By default all AppCompat translations are included, saves 350KB
// also in res/xml/locales_config.xml and .tx/config
}

signingConfigs {
Expand Down Expand Up @@ -110,6 +107,9 @@ android {
buildFeatures {
aidl true
}
androidResources {
generateLocaleConfig true
}
}

repositories {
Expand Down
1 change: 1 addition & 0 deletions app/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualifiedResLocale=en-US
31 changes: 0 additions & 31 deletions app/res/xml/locales_config.xml

This file was deleted.

0 comments on commit b450e88

Please sign in to comment.