1package { 2 // See: http://go/android-license-faq 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6android_app_import { 7 name: "CarMediaApp", 8 apk: "CarMediaApp.apk", 9 privileged: true, 10 certificate: "platform", // Media must be signed by the platform 11 required: ["allowed_privapp_com.android.car.media"], 12 // This flag is needed because we're inehriting 2 `uses-library` tags from `androidx.window` 13 // that it's coming from Compose support in `car-ui-lib` in the manifest. And Soong is 14 // enforcing that both the shared libraries must be in the image. But since both of them are 15 // set to optional we can use the following flag to ignore the build error. 16 optional_uses_libs: [ 17 "androidx.window.extensions", 18 "androidx.window.sidecar" 19 ] 20} 21