Enable TrafficController in apex

Test: atest FrameworksNetTests FrameworksNetIntegrationTests
CtsNetTestCases:android.net.TrafficStatsTest NetworkUsageStatsTest
CtsHostsideNetworkTests

Change-Id: I03f70e3258bf121cbac69a3bb302871ac680c6fb
This commit is contained in:
Patrick Rohr
2022-02-01 16:01:49 +01:00
parent 2b1b2c7206
commit 216dfc82f6

View File

@@ -33,8 +33,7 @@ public class BpfNetMaps {
private static final String TAG = "BpfNetMaps";
private final INetd mNetd;
// Use legacy netd for releases before T.
// TODO: change to !SdkLevel.isAtLeastT()
private static final boolean USE_NETD = true;
private static final boolean USE_NETD = !SdkLevel.isAtLeastT();
private static boolean sInitialized = false;
/**