commit | b43a2921c6164641c8585ec019dbb90e665a13db | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Sep 13 17:30:45 2017 -0600 |
committer | Jeff Sharkey <jsharkey@google.com> | Wed Sep 13 23:57:17 2017 +0000 |
tree | b28a675daa7f97ab3a9b005799ba5bb772891a00 | |
parent | 465a95606692959fa70cc9031b47875ef260bdfa [diff] |
Update network rules on meteredness changes. The CONFIGURED_NETWORKS_CHANGED_ACTION broadcast can be dispatched before WifiStateMachine has a chance to update NetworkCapabilities, resulting in a race condition. To fix this, update network rules whenever we actually notice a meteredness change take place. Test: builds, boots Bug: 64274313 Change-Id: I490eaa789fc0754e4c1c413b6606378ef6f90662