summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-17 15:26:02 +0000
committerRemi NGUYEN VAN <reminv@google.com>2020-03-18 08:56:51 +0000
commit1f0748824c74a7754e7620ddfbb6964317ce0ec1 (patch)
treea64cdfcb0fa7c360200382c4e8e7d520c7e397af /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6beb092933d2fee9135f3734b70d1ba0117c3e9b (diff)
Make LinkPropertiesTest backwards compatible
LinkPropertiesTest must be backwards compatible with Q for CTS. In Q 4 fields were added: DhcpServerAddress, WakeOnLanSupported, CaptivePortalApiUrl, CaptivePortalData. The new test only tests these fields on R and above. testLinkPropertiesParcelable_Q still verifies that there are 14 fields on Q, so the 4 extra fields can be ignored. The changes use androidx.core.os.BuildCompat.isAtLeastR(), so androidx.core_core is added as a dependency to FrameworksNetCommonTests. Test: atest CtsNetTestCasesLatestSdk:android.net.LinkPropertiesTest on Q and R devices Bug: 150918852 Change-Id: I570efa4eb483a717d4204a18473d02653a69f46d Merged-In: I570efa4eb483a717d4204a18473d02653a69f46d (cherry picked from commit b4c981c7c683564dde0693fa05bd02618f7dcba3)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions