From 1dfa3ebd24f240b485f794507a6bb3bd3d21f284 Mon Sep 17 00:00:00 2001 From: Ben Weiss Date: Tue, 19 Mar 2024 15:06:01 +0100 Subject: [PATCH] Use API 31 GMD Change-Id: I045bb67955986395aebadacab0159234d6f1860a --- benchmarks/build.gradle.kts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/benchmarks/build.gradle.kts b/benchmarks/build.gradle.kts index 279c4b226..b9856bdf5 100644 --- a/benchmarks/build.gradle.kts +++ b/benchmarks/build.gradle.kts @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import com.android.build.api.dsl.ManagedVirtualDevice import com.google.samples.apps.nowinandroid.configureFlavors plugins { @@ -46,9 +47,9 @@ android { } testOptions.managedDevices.devices { - create("pixel6Api33") { + create("pixel6Api31") { device = "Pixel 6" - apiLevel = 33 + apiLevel = 31 systemImageSource = "aosp" } } @@ -59,7 +60,7 @@ android { baselineProfile { // This specifies the managed devices to use that you run the tests on. - managedDevices += "pixel6Api33" + managedDevices += "pixel6Api31" // Don't use a connected device but rely on a GMD for consistency between local and CI builds. useConnectedDevices = false