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

Commit adcb9447 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by android-build-merger
Browse files

Add the defaultNetwork element to the netstats.proto.

am: 9781f785

Change-Id: I725132a756baacbc42c573274f5687cf58225498
parents 66eab17a 9781f785
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@ public class NetworkIdentity implements Comparable<NetworkIdentity> {
        proto.write(NetworkIdentityProto.NETWORK_ID, mNetworkId);
        proto.write(NetworkIdentityProto.ROAMING, mRoaming);
        proto.write(NetworkIdentityProto.METERED, mMetered);
        proto.write(NetworkIdentityProto.DEFAULT_NETWORK, mDefaultNetwork);

        proto.end(start);
    }
+2 −0
Original line number Diff line number Diff line
@@ -64,6 +64,8 @@ message NetworkIdentityProto {
    bool roaming = 4;

    bool metered = 5;

    bool default_network = 6;
}

// Corresponds to NetworkStatsRecorder.