summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/resources.properties
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 16:33:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 18:07:40 +0200
commit544e80110fdd0224728ac00b4ceef21d33ecb3fb (patch)
tree64d4b40dd42f5cd131153c02f8bda0369cb5a715 /ui/src/main/res/resources.properties
parent4ab7ac51efb14b45dfafda0dbfe177ac64078794 (diff)
build: generate locales for per-app picking
Enable the per-app locale picking menu by adding the right metadata automatically to the manifest with new AGP automation. This attempts to follow: https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig Using the new AGP feature: https://developer.android.com/studio/preview/features#automatic-per-app-languages It appears to work, and it also should squelch the "W AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : " warnings on old Android that syphyr pointed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/resources.properties')
-rw-r--r--ui/src/main/res/resources.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/main/res/resources.properties b/ui/src/main/res/resources.properties
new file mode 100644
index 00000000..467b3efe
--- /dev/null
+++ b/ui/src/main/res/resources.properties
@@ -0,0 +1 @@
+unqualifiedResLocale=en-US