MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / rro / MaosFrameworkResRRO / Android.bp
Android.bp20 lines · 1.1 KiBRaw
| 1 | // MAOS framework-res config overlay, packaged as an explicit static, platform-signed RRO. |
| 2 | // |
| 3 | // Why not PRODUCT_PACKAGE_OVERLAYS: with PRODUCT_ENFORCE_RRO_TARGETS := * (from |
| 4 | // generic_system.mk) a product overlay on framework-res becomes an auto-generated RRO named |
| 5 | // framework-res__<device>__auto_generated_rro_product.apk, which collides with the prebuilt of |
| 6 | // the same name that adevtool ships under vendor/google_devices/<device>/overlays. An explicit |
| 7 | // module has a unique name and coexists with the prebuilt. |
| 8 | // |
| 9 | // certificate: "platform" is required to overlay the non-public framework config_* resources |
| 10 | // (config_documentsUiPackage, config_default*SpeechRecognitionService, the geocoder / |
| 11 | // network-location provider pins and their config_enable*Overlay bools). isStatic (in the |
| 12 | // manifest) makes it always-on and applied early enough to take effect at boot. This mirrors |
| 13 | // AOSP's own CarFrameworkResConfigRRO (packages/services/Car/.../rro/overlay-config/androidRRO). |
| 14 | runtime_resource_overlay { |
| 15 | name: "MaosFrameworkResRRO", |
| 16 | resource_dirs: ["res"], |
| 17 | certificate: "platform", |
| 18 | manifest: "AndroidManifest.xml", |
| 19 | product_specific: true, |
| 20 | } |