feat: settings option to change the app language

This commit is contained in:
2024-07-12 02:15:33 +02:00
committed by Illusion
parent 7d07433e95
commit edd5b24d92
11 changed files with 144 additions and 29 deletions
+12 -1
View File
@@ -12,6 +12,7 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:localeConfig="@xml/locales_config"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
@@ -21,7 +22,7 @@
<activity
android:name=".MainActivity"
android:configChanges="screenSize|screenLayout|keyboardHidden|orientation"
android:configChanges="screenSize|screenLayout|keyboardHidden|orientation|locale"
android:exported="true"
android:theme="@style/Theme.LyricsGrabbr.Splash"
>
@@ -45,5 +46,15 @@
android:name="android.app.NOTIFICATION_LISTENER"
android:value="Media playback notification listener service" />
</service>
<service
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
android:enabled="false"
android:exported="false"
>
<meta-data
android:name="autoStoreLocales"
android:value="true"
/>
</service>
</application>
</manifest>