Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1af65153 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

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: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I044d0363aaab0dbbb90c40ca466cc48f169d649a
parent c9b46078
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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