Bump PRODUCT_SHIPPING_API_LEVEL to 30
Since qt modules are not ready for product interface enforcement,
override automatic enabling product interface enforcement to disable
the enforcement for shipping api level 30 in qt-qpr1-dev-plus-aosp.
It will not be merged down to master branch.
Bug: 147387997
Bug: 148163848
Test: build cf_x86_phone
Change-Id: Ifa37ac551b9ae1d110ef4b0d68e896443cb71546
Merged-In: Ifa37ac551b9ae1d110ef4b0d68e896443cb71546
(cherry picked from commit c7c262c2b6a1284545206963c42fd8cc6857a9d1)
diff --git a/shared/auto/manifest.xml b/shared/auto/manifest.xml
index 7fcdd4d..60e9a85 100644
--- a/shared/auto/manifest.xml
+++ b/shared/auto/manifest.xml
@@ -9,7 +9,7 @@
*/
-->
<!-- Android Auto Embedded specific HALs-->
-<manifest version="1.0" type="device" target-level="4">
+<manifest version="1.0" type="device" target-level="5">
<hal format="hidl">
<name>android.hardware.automotive.audiocontrol</name>
<transport>hwbinder</transport>
diff --git a/shared/config/manifest.xml b/shared/config/manifest.xml
index 2d728e9..f6fc26d 100644
--- a/shared/config/manifest.xml
+++ b/shared/config/manifest.xml
@@ -16,7 +16,7 @@
** limitations under the License.
*/
-->
-<manifest version="1.0" type="device" target-level="4">
+<manifest version="1.0" type="device" target-level="5">
<kernel target-level="5" />
<hal format="hidl">
<name>android.hardware.audio</name>
diff --git a/shared/device.mk b/shared/device.mk
index 5b1065a..893b0fa 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -20,11 +20,18 @@
# Enable userspace reboot
$(call inherit-product, $(SRC_TARGET_DIR)/product/userspace_reboot.mk)
-PRODUCT_SHIPPING_API_LEVEL := 29
+PRODUCT_SHIPPING_API_LEVEL := 30
PRODUCT_BUILD_BOOT_IMAGE := true
PRODUCT_USE_DYNAMIC_PARTITIONS := true
DISABLE_RILD_OEM_HOOK := true
+# [b/148163848] Disable product enforcement only for qt-qpr1-dev-plus-aosp
+# branch. It is not merged down to master branch.
+# As qt-qpr1-dev-plus-aosp branch has qt based vendor modules that are not
+# ready for the product enforcement, we may not enable it in this branch.
+PRODUCT_USE_PRODUCT_VNDK_OVERRIDE := false
+OVERRIDE_PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := false
+
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
product \
diff --git a/shared/tv/manifest.xml b/shared/tv/manifest.xml
index ba78430..0dc4a45 100644
--- a/shared/tv/manifest.xml
+++ b/shared/tv/manifest.xml
@@ -16,7 +16,7 @@
** limitations under the License.
*/
-->
-<manifest version="1.0" type="device" target-level="4">
+<manifest version="1.0" type="device" target-level="5">
<!-- FIXME: Implement tv.cec HAL
<hal format="hidl">
<name>android.hardware.tv.cec</name>