diff options
| author | 2021-04-14 08:22:05 -0700 | |
|---|---|---|
| committer | 2021-11-18 06:11:00 +0000 | |
| commit | 1af65153da0d8d767892c6eb327deafe8315a3e9 (patch) | |
| tree | df0f922a050f33fc05c4164494ece6733d092444 | |
| parent | c9b46078fce6e51d20cf155ab55d132c00a7c21a (diff) | |
bpf is required so /sys/fs/bpf/map_netd_app_uid_stats_map always exists
(we cannot just remove the argument, since the test code path still
goes via the legacy xt_qtaguid code paths with sample data)
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I044d0363aaab0dbbb90c40ca466cc48f169d649a
| -rw-r--r-- | services/core/java/com/android/server/net/NetworkStatsFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/net/NetworkStatsFactory.java b/services/core/java/com/android/server/net/NetworkStatsFactory.java index 431b00914f02..e6433db11d7b 100644 --- a/services/core/java/com/android/server/net/NetworkStatsFactory.java +++ b/services/core/java/com/android/server/net/NetworkStatsFactory.java @@ -159,7 +159,7 @@ public class NetworkStatsFactory { } public NetworkStatsFactory() { - this(new File("/proc/"), new File("/sys/fs/bpf/map_netd_app_uid_stats_map").exists()); + this(new File("/proc/"), true); } @VisibleForTesting |