summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-05-13 17:20:10 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-05-13 20:24:20 +0900
commit34748be15064212ca5d0065d8003d37fa3b96f38 (patch)
tree2675dd14721ac2f5bcbb7e5441282fe646eb9bbe /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1ad18702f15ad4d1cc2dfb466569fa39893487c2 (diff)
Make VcnTransportInfoTest pass on AOSP.
AOSP contains the core networking redaction changes, but not the wifi redaction changes, so the tests that depend on wifi S behaviour will not pass on AOSP. Fix testApplicableRedactions by checking that the applicable redactions are the same ones as returned by the underlying WifiInfo object. Fix testMakeCopyRedactForAccessFineLocation by testing the wifi redaction code iff Build.VERSION.SDK_INT is S or later. This is different from SdkLevel.isAtLeastS, because the latter returns true in AOSP. Bug: 183938194 Test: atest VcnTransportInfoTest Change-Id: Ia5bc896c92be19f570638f8051492e0f2d7342f9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions