diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-09 02:20:54 +0000 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2020-03-09 06:59:02 +0000 |
commit | 046a14ee618731ad5ef8c6b6c79bf0d84ab00fa6 (patch) | |
tree | a015b79953347fe7a309bc98be1f64062cd2805a /src/android/net/util/NetworkStackUtils.java | |
parent | 2eb7b002201fa116291f69da3dc16d47c234efc4 (diff) |
Add an annotation for ignoring tests by dev SDK
Contrary to androidx.test.filters.SdkSuppress, this annotation
considers the SDK to be higher than the Build.VERSION.SDK_INT reported
by the device when the device is not using a release SDK. For example,
an aosp/master build based on SDK 29 is considered to have a development
SDK that is strictly higher than 29.
Test: atest CtsNetTestCasesLatestSdk:android.net.CaptivePortalTest using
the change on a Q build and an AOSP build.
Bug: 150918852
Merged-In: Ibaea05565bd8a362e829cdd1e5420aa2881b0889
(cherry picked from commit f30540f24e1713fe2d29f2e313b7522b4e7de089)
Change-Id: I57f95d4673031a1ff58218bf4c79bb26b7eaa16d
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions