Enable TrafficController in apex
Test: atest FrameworksNetTests FrameworksNetIntegrationTests CtsNetTestCases:android.net.TrafficStatsTest NetworkUsageStatsTest CtsHostsideNetworkTests Change-Id: I03f70e3258bf121cbac69a3bb302871ac680c6fb
This commit is contained in:
@@ -33,8 +33,7 @@ public class BpfNetMaps {
|
|||||||
private static final String TAG = "BpfNetMaps";
|
private static final String TAG = "BpfNetMaps";
|
||||||
private final INetd mNetd;
|
private final INetd mNetd;
|
||||||
// Use legacy netd for releases before T.
|
// Use legacy netd for releases before T.
|
||||||
// TODO: change to !SdkLevel.isAtLeastT()
|
private static final boolean USE_NETD = !SdkLevel.isAtLeastT();
|
||||||
private static final boolean USE_NETD = true;
|
|
||||||
private static boolean sInitialized = false;
|
private static boolean sInitialized = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user