commit | d5876bc438c26ae13ebcef295ed3eba18f14c74a | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Jan 19 01:12:58 2018 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Jan 23 18:28:07 2018 +0900 |
tree | 753b32ac98ebb9a643d06345d3d95b107ec82b63 | |
parent | bf996dd479d933b1e6be8fae50d1517229047674 [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 Merged-In: I9f6669908fa119743b9c0aa0c31a03e5ebafa7db