Add the defaultNetwork element to the netstats.proto.
am: 9781f785bc
Change-Id: I725132a756baacbc42c573274f5687cf58225498
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -64,6 +64,8 @@ message NetworkIdentityProto {
|
||||
bool roaming = 4;
|
||||
|
||||
bool metered = 5;
|
||||
|
||||
bool default_network = 6;
|
||||
}
|
||||
|
||||
// Corresponds to NetworkStatsRecorder.
|
||||
|
||||
Reference in New Issue
Block a user