commit | 26ac208cff13d9ad0ab31f761a90a858cab15a59 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Jan 17 01:05:28 2018 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Sun Jan 21 23:14:33 2018 +0900 |
tree | 6eea25299e833a8c55436455f5731ad610ed7bf6 | |
parent | 6cb4e5ab3ab86b0eb44ffd23347168f191e0339c [diff] |
Add the defaultNetwork parameter to the NetworkStats.Entry. This allows us to remove a NetworkStats.Entry constructor that is used only by this code. DEFAULT_NETWORK_YES is used because VT traffic uses the network specified by the carrier. While I'm at it, also change "1" to NetworkStats.METERED_YES, so the code is clearer about what it's doing. Bug: 35142602 Test: builds, boots Change-Id: I88a288ed03437c0945b221871919ea0f78a16ebe