Bump CtsNetTestCasesLatestSdk to target SDK 30.

This is not necessary for the tests to be able to use APIs
introduced in R because they can already access hidden APIs.
But it is important to ensure that they are subject to whatever
new system behaviour is applied to SDK 30 apps.

Fix: 158839774
Test: treehugger
Test: atest CtsNetTestCasesLatestSdk has no new failures
Change-Id: Ic86fe84b28b5becc722903650f00e9ca7d6e5f3f
This commit is contained in:
Lorenzo Colitti
2020-06-13 00:47:44 +09:00
parent 791d142a98
commit 53430127ec

View File

@@ -72,15 +72,15 @@ android_test {
test_config_template: "AndroidTestTemplate.xml",
}
// Networking CTS tests that have a min_sdk_version of the latest released SDK. These tests can
// be installed on release devices at any point in the release cycle and are useful for qualifying
// mainline modules on release devices.
// Networking CTS tests that target the latest released SDK. These tests can be installed on release
// devices at any point in the Android release cycle and are useful for qualifying mainline modules
// on release devices.
android_test {
name: "CtsNetTestCasesLatestSdk",
defaults: ["CtsNetTestCasesDefaults"],
jni_uses_sdk_apis: true,
min_sdk_version: "29",
target_sdk_version: "29",
target_sdk_version: "30",
test_suites: [
"device-tests",
"mts",