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

Commit 67d3dd83 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Fix NetworkPolicy logs in dumpsys.

Right now, nothing is get logged due to an issue
with NetworkPolicyLogger.Data initialization.

Bug: 209236326
Test: adb shell dumpsys netpolicy
Change-Id: Ie0c3e3831802f317c5821676d426ff29a8bb5fa5
parent 4746631e
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -566,7 +566,13 @@ public class NetworkPolicyLogger {
        }
    }

    private static final class Data {
    /**
     * Container class for all networkpolicy events data.
     *
     * Note: This class needs to be public for RingBuffer class to be able to create
     * new instances of this.
     */
    public static final class Data {
        public int type;
        public long timeStamp;