Signal network policy application done when it's actually done
Wait for network policy application to actually finish before signaling that it's done. Network policy application is only finished when the changes sent to shill have been pulled back from shill and are now reflected in NetworkState objects. This is important because code evaluating e.g. the OnlyAllowPolicyNetworksToAutoConnect policy uses NetworkState objects to decide whether a network is policy-managed or not. Bug: 936677, 943102 Test: browsertest will be added in a follow-up CL to keep this small. Change-Id: I734bc75eb8422e934b20cb592ca3fc5c211779b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539839 Commit-Queue: Pavol Marko <pmarko@chromium.org> Reviewed-by:Alexander Hendrich <hendrich@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#667328}
Showing
This diff is collapsed.
Please register or sign in to comment