Set min_sdk_version to be part of mainline modules

Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.

For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.

Bug: 152655956
Test: m
Merged-In: Ifb9e0d4cd57a0e8212341cf493cd9fb20d0e264c
Change-Id: Ifb9e0d4cd57a0e8212341cf493cd9fb20d0e264c
(cherry picked from commit da09207b693706b0ed5cc2fef65401dbe972925e)
diff --git a/system/types/Android.bp b/system/types/Android.bp
index 444b6ff..b7c6950 100644
--- a/system/types/Android.bp
+++ b/system/types/Android.bp
@@ -4,6 +4,14 @@
     export_include_dirs: ["./"],
     vendor_available: true,
     host_supported: true,
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.media",
+        "com.android.media.swcodec",
+        "com.android.bluetooth.updatable"
+    ],
+    // As part of updatable mainline modules(media, swcodec), it should support at least 29(Q)
+    min_sdk_version: "29",
 }
 
 cc_library_static {