maos: remove GrapheneOS SpeechServices in favor of MA Speech
- Commit
5cedf8a9fc84ef0ed0da8449ac386ed521b30749- Author
- Vayun Mathur <[email protected]>
- When
- 2026-08-09 19:38 UTC (3 months ago)
- Parents
188e4df
Diff
Android.bp
diff --git a/Android.bp b/Android.bpindex 21628ad..6e5093a 100644--- a/Android.bp+++ b/Android.bp@@ -118,8 +118,8 @@ android_app_import { } // Speech is the default on-device STT (RecognitionService) and TTS (TextToSpeech) engine.-// Additive โ AOSP ships neither. Wired up via config_default*SpeechRecognitionService and,-// for TTS, by being the only installed engine (see modern_apps.mk / overlay).+// Replaces GrapheneOS's SpeechServices (removed in modern_apps.mk). Wired up via+// config_default*SpeechRecognitionService and, for TTS, by being the only installed engine. android_app_import { name: "ModernAppsSpeech", apk: "prebuilts/speech-release.apk",
README.md
diff --git a/README.md b/README.mdindex 5cef006..3b0d668 100644--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@ repo.) | Photos | `com.vayunmathur.photos` | AOSP Gallery | | App Store | `com.vayunmathur.appstore` | GrapheneOS Apps | | Keyboard | `com.vayunmathur.keyboard` | AOSP LatinIME (Direct Boot-aware for lock-screen input) |-| Speech | `com.vayunmathur.speech` | *(additive)* default on-device STT + TTS |+| Speech | `com.vayunmathur.speech` | GrapheneOS SpeechServices (default STT + TTS) | | Calendar | `com.vayunmathur.calendar` | GrapheneOS Etar (uses system CalendarProvider) | ## Layout
modern_apps.mk
diff --git a/modern_apps.mk b/modern_apps.mkindex 145bb51..afedb47 100644--- a/modern_apps.mk+++ b/modern_apps.mk@@ -47,6 +47,7 @@ _maos_remove := \ Gallery2 \ DocumentsUI \ LatinIME \+ SpeechServices \ Auditor # Safety: refuse to remove any content-provider backend. This makes the Contacts/Calendar@@ -66,9 +67,9 @@ PRODUCT_PACKAGES := $(filter-out $(_maos_remove),$(PRODUCT_PACKAGES)) # tree and add it to the filter-out list above โ do NOT remove the WebView/Trichrome # modules. -# NOTE on speech: Modern Apps Speech is ADDITIVE (AOSP ships no default TTS/STT engine).-# It becomes the default on-device recognizer via config_default*SpeechRecognitionService-# (overlay) and, being the only installed TTS engine, the default TTS engine. Its+# NOTE on speech: Modern Apps Speech REPLACES GrapheneOS's SpeechServices (which we remove+# above). It becomes the default on-device recognizer via config_default*SpeechRecognitionService+# (overlay) and, being the only remaining installed TTS engine, the default TTS engine. Its # RECORD_AUDIO runtime permission must be granted by default for the recognizer to work # headless โ see the default-permissions grant referenced below.