maos: swap AOSP Music for MA Music and remove app.grapheneos.info
- Commit
a9c5eb2f287679c52fa43fd9e944d75ed8cfc29d- Author
- Vayun Mathur <[email protected]>
- When
- 2026-08-09 19:50 UTC (3 months ago)
- Parents
5cedf8a
Diff
Android.bp
diff --git a/Android.bp b/Android.bpindex 6e5093a..fb88185 100644--- a/Android.bp+++ b/Android.bp@@ -130,8 +130,8 @@ android_app_import { }, } -// Calendar replaces GrapheneOS's Etar (or is additive on a plain-AOSP base, which has no-// calendar UI). Uses the system CalendarProvider via CalendarContract — no backend of its own.+// Calendar replaces the stock AOSP Calendar (com.android.calendar, module Calendar). Uses the+// system CalendarProvider via CalendarContract — no backend of its own. android_app_import { name: "ModernAppsCalendar", apk: "prebuilts/calendar-release.apk",@@ -141,3 +141,15 @@ android_app_import { enabled: false, }, }++// Music replaces AOSP Music (com.android.music, module Music). Includes a popup single-file+// player (.AudioPreview equivalent) for audio VIEW intents.+android_app_import {+ name: "ModernAppsMusic",+ apk: "prebuilts/music-release.apk",+ presigned: true,+ product_specific: true,+ dex_preopt: {+ enabled: false,+ },+}
README.md
diff --git a/README.md b/README.mdindex 3b0d668..645ea89 100644--- a/README.md+++ b/README.md@@ -24,7 +24,8 @@ repo.) | App Store | `com.vayunmathur.appstore` | GrapheneOS Apps | | Keyboard | `com.vayunmathur.keyboard` | AOSP LatinIME (Direct Boot-aware for lock-screen input) | | Speech | `com.vayunmathur.speech` | GrapheneOS SpeechServices (default STT + TTS) |-| Calendar | `com.vayunmathur.calendar` | GrapheneOS Etar (uses system CalendarProvider) |+| Calendar | `com.vayunmathur.calendar` | AOSP Calendar (uses system CalendarProvider) |+| Music | `com.vayunmathur.music` | AOSP Music (incl. popup single-file player) | ## Layout
build-maos.sh
diff --git a/build-maos.sh b/build-maos.shindex 1d387dc..edcf5c1 100755--- a/build-maos.sh+++ b/build-maos.sh@@ -64,7 +64,7 @@ BUILD="$TAG" MANIFEST_URL="https://github.com/GrapheneOS/platform_manifest.git" MAOS_GH="https://github.com/vayun-mathur/" # overlay repo remote (for the local manifest) MODERN_APPS_GH="vayun-mathur/Modern-Apps" # source of the prebuilt APKs-APPS=(web camera pdf contacts calculator clock files photos appstore keyboard speech calendar)+APPS=(web camera pdf contacts calculator clock files photos appstore keyboard speech calendar music) # ---- Derived / optional-env config ---- MAOS_KEYS_FILE="${MAOS_KEYS_FILE:-$HOME/maos-keys/$DEVICE.keys.tar.gz.scrypt}"
modern_apps.mk
diff --git a/modern_apps.mk b/modern_apps.mkindex afedb47..a3881f1 100644--- a/modern_apps.mk+++ b/modern_apps.mk@@ -21,7 +21,8 @@ PRODUCT_PACKAGES += \ ModernAppsStore \ ModernAppsKeyboard \ ModernAppsSpeech \- ModernAppsCalendar+ ModernAppsCalendar \+ ModernAppsMusic # 2. Remove the stock userspace apps we're replacing. # IMPORTANT: only ever remove *UI apps*, never content-provider backends. Contacts and@@ -48,6 +49,8 @@ _maos_remove := \ DocumentsUI \ LatinIME \ SpeechServices \+ Music \+ InfoApp \ Auditor # Safety: refuse to remove any content-provider backend. This makes the Contacts/Calendar
scripts/collect-apks.sh
diff --git a/scripts/collect-apks.sh b/scripts/collect-apks.shindex a38a98c..c693280 100755--- a/scripts/collect-apks.sh+++ b/scripts/collect-apks.sh@@ -21,7 +21,7 @@ SRC="${1:?usage: collect-apks.sh <path to Modern-Apps repo, its distribution_apk DEST="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/prebuilts" mkdir -p "$DEST" -APPS=(web camera pdf contacts calculator clock files photos appstore keyboard speech calendar)+APPS=(web camera pdf contacts calculator clock files photos appstore keyboard speech calendar music) find_apk() { local app="$1"