commit | 35c13e5b3ad49bb6d24fe02476d0ae6fda430448 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Jan 19 01:12:58 2018 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Sat Jan 20 02:26:58 2018 +0900 |
tree | 463d0263bd480bb3b1f7e59b7532806ce65a0f22 | |
parent | bf2d3fa9b98c0deb05333c6779ee714e49130452 [diff] |
Add getDefaultNetwork to the NetworkStats public API. This allows an app using the public API to know whether the traffic in a particular bucket was on the default network (i.e., the network was selected by the system), or not (i.e., the network was selected by the app). Bug: 35142602 Test: builds, boots Test: added coverage to NetworkUsageStatsTest CTS test, still passes Change-Id: I9f6669908fa119743b9c0aa0c31a03e5ebafa7db