Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

List English and Hindi in the per-app language setting

jesse-agent-82180f69725c0f7
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 40c290d..5a160f0 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -37,6 +37,8 @@ android {
// Material ship (about 440 KB). A new values-xx/strings.xml adds its code here too.
androidResources {
localeFilters += listOf("en", "hi")
+ // Lists them for Android 13+'s per-app language setting (default locale: res/resources.properties).
+ generateLocaleConfig = true
}
// Only CI signs, from repo secrets; without RELEASE_KEYSTORE the release APK is unsigned.
diff --git a/app/src/main/res/resources.properties b/app/src/main/res/resources.properties
new file mode 100644
index 0000000..467b3ef
--- /dev/null
+++ b/app/src/main/res/resources.properties
@@ -0,0 +1 @@
+unqualifiedResLocale=en-US