From b5d7ea92b09219b686dbdedc1be15a53b338c2da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Wed, 26 Jul 2023 13:52:20 +0200 Subject: [PATCH] UpdatableSharedLibsTest: set min_sdk_version of test APEX The UpdatableSharedLibsTest test installs a test APEX as part of the test. However, the APEX blueprint does not explicitly set its min_sdk_version, so the build will assign it a defult value, which currently happens to be 34. This means that UpdatableSharedLibsTest will push an incompatible APEX to T devices, which will result in a bootloop when the test reboots the device. Test: atest UpdatableSharedLibsTest Bug: 289877353 Change-Id: Iab7f7d4f6eefca0873a15360477146022cb5422f --- .../com/android/modules/updatablesharedlibs/apex/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/javatests/com/android/modules/updatablesharedlibs/apex/Android.bp b/javatests/com/android/modules/updatablesharedlibs/apex/Android.bp index db56f35..b063489 100644 --- a/javatests/com/android/modules/updatablesharedlibs/apex/Android.bp +++ b/javatests/com/android/modules/updatablesharedlibs/apex/Android.bp @@ -37,4 +37,5 @@ apex_test { "com.android.modules.updatablesharedlibs.libs.since.t", ], updatable: false, + min_sdk_version: "33", }