From b2ee26f8bae8ece7612c5e675f78085581dc6da8 Mon Sep 17 00:00:00 2001 From: Jag Date: Wed, 13 Sep 2023 00:01:34 +0000 Subject: [PATCH] Add MP as optional module. Bug: 294190883 Test: packages/modules/common/build/mainline_modules_sdks.sh Change-Id: I5249e879d7b9c419e9a5a91805b5388aed8b48b3 Ignore-AOSP-First: May not be intended for AOSP as MP is a mandatory module and this handles a special use case as per the bug. --- build/mainline_modules_sdks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/mainline_modules_sdks.py b/build/mainline_modules_sdks.py index 027d01c..d7627aa 100755 --- a/build/mainline_modules_sdks.py +++ b/build/mainline_modules_sdks.py @@ -1056,6 +1056,10 @@ MAINLINE_MODULES = [ for_r_build=ForRBuild(sdk_libraries=[ SdkLibrary(name="framework-mediaprovider"), ]), + # MP is a mandatory mainline module but in some cases (b/294190883) this + # needs to be optional for Android Go on T. GTS tests might be needed to + # to check the specific condition mentioned in the bug. + last_optional_release=LATEST, ), MainlineModule( apex="com.android.ondevicepersonalization",