Set legacy_android10_support to apex modules
media/swcodec apexes should support Android 10.
With this flag, apex packages will include older APEX manifest format
(JSON) as well as new format (Protobuf) so that they will work with
Android 10.
Bug: 143951586
Test: m com.android.media com.android.media.swcodec
and install these to Android Q device
Change-Id: I927a464a8c7b88060126db398f568720396847f0
diff --git a/apex/Android.bp b/apex/Android.bp
index 42a620b..73dc264 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -41,6 +41,8 @@
// Use a custom AndroidManifest.xml used for API targeting.
androidManifest: ":com.android.media-androidManifest",
+
+ legacy_android10_support: true,
}
apex {
@@ -76,6 +78,8 @@
// Use a custom AndroidManifest.xml used for API targeting.
androidManifest: ":com.android.media.swcodec-androidManifest",
+
+ legacy_android10_support: true,
}
prebuilt_etc {