summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2016-01-11 16:02:17 -0800
committerJeff Davidson <jpd@google.com>2016-01-19 16:57:51 -0800
commita6a78076eeb27084ed815ce0492d4ffe08134bec (patch)
tree7f07d26355876009254e771fa61e9d63ca4e6b46 /tools/aapt2/java/JavaClassGenerator.cpp
parentf2c9628cac0240b9a39b8eadddf4c0528cd45c2d (diff)
Implement roaming tracking in NetworkStats summary queries.
Whether a network is deemed roaming or not was already being tracked as part of the NetworkIdentitySet, so the underlying data store already tracks roaming and native data separately. However, this data was being aggregated together in NetworkStatsCollection#getSummary, since the NetworkIdentitySet is converted to an iface name for the purposes of matching, and the iface name will be identical whether or not the iface is considered roaming. Now it is separated. Also fixes a long-standing bug in NetworkIdentitySet where an identity read from a saved file would always be considered roaming == false, even if it wasn't at the time it was written. Bug: 25813438 Change-Id: I11ab5b51182ed8da7af8fde468df065f9fdc3dad
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions