summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2022-01-27 23:02:59 +0900
committerLorenzo Colitti <lorenzo@google.com>2022-01-27 14:16:49 +0000
commitdebd9eaffa3d773e604197883440197998e415d0 (patch)
tree6aa6022064d5142707dbb08726b93b20a798f69f /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent82ed9e6058d4d92278950138e30ba9a78c330a00 (diff)
Don't enable DscpPolicyTracker on pre-T devices.
The code cannot work before T because before T the tethering module can only load BPF programs/maps into /sys/fs/tethering/bpf and the system server cannot access that directory. Additionally, this is causing unit tests to fail on pre-T devices because on those devices the seccomp filter blocks the bpf syscall from apps (including Java tests). Test: revert aosp/1907693 and atest FrameworksNetTests:ConnectivityServiceTest Change-Id: I6c398031dffb840da1d723b11ea4d0845ad6c6f2
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions