commit | 64c96ecd1bddb34d345f10ff74073e89010d60a6 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Aug 30 16:28:26 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Aug 30 17:15:53 2017 -0600 |
tree | 0dfc5fda9b1ca1e4812b2c198aaa6a7774b111e1 | |
parent | 156955898fe8a533ab5eafd9f41b5cb98f860e5b [diff] |
Fix meteredness bugs in updateNetworkRulesNL(). The logic in that method appears to have become broken at some point; refactor it to apply all known network policies, and then perform one last pass to handle any metered networks that didn't have policies; typically Wi-Fi networks. Test: cts-tradefed run commandAndExit cts-dev -m CtsHostsideNetworkTests Bug: 64274313 Change-Id: Id9cbcc6fdfe3793e058f52505c9edd250bed7089