summaryrefslogtreecommitdiff
path: root/framework-t/src/android/net/NetworkIdentitySet.java
diff options
context:
space:
mode:
authorJunyu Lai <junyulai@google.com>2022-01-26 09:00:41 +0000
committerRemi NGUYEN VAN <reminv@google.com>2022-02-07 11:45:17 +0900
commit0bac7dddd7c41df4ad03adb305678ea405faaeab (patch)
tree7ca6918482a64c0f567837301b1c7160bd26c5ab /framework-t/src/android/net/NetworkIdentitySet.java
parent2b01633f812028c99a765d4382dc32f118178db1 (diff)
[MS54.1] Move NetworkStats to updatable sources
This CL builds NetworkStats related code with the connectivity module instead of platform. This includes: 1. Add netstats.proto to the module. 2. Add lib dependencies for all callers. 3. Include several source files in platform and add jarjar rule to it. Modify callers accordingly. Test: TH Bug: 197717846 Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
Diffstat (limited to 'framework-t/src/android/net/NetworkIdentitySet.java')
-rw-r--r--framework-t/src/android/net/NetworkIdentitySet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework-t/src/android/net/NetworkIdentitySet.java b/framework-t/src/android/net/NetworkIdentitySet.java
index dfa347f6f1..2236d70c35 100644
--- a/framework-t/src/android/net/NetworkIdentitySet.java
+++ b/framework-t/src/android/net/NetworkIdentitySet.java
@@ -212,7 +212,7 @@ public class NetworkIdentitySet extends HashSet<NetworkIdentity> {
final long start = proto.start(tag);
for (NetworkIdentity ident : this) {
- ident.dumpDebug(proto, NetworkIdentitySetProto.IDENTITIES);
+ ident.dumpDebug(proto, NetworkIdentitySetProto.IDENTITIES_FIELD_NUMBER);
}
proto.end(start);