shill: when Service state changes to kStateConnected,
emit a state change notification for flimflam::kStateReady
Because we don't yet implement portal detection, we
recently changed Service::CalculateState to report
flimflam::kStateOnline when a Service is in kStateConnected.
(See https://gerrit.chromium.org/gerrit/12019.)
However, the autotests expect a transition into
flimflam::kStateReady. To satisfy the autotests,
explicitly emit a change for the ready state,
before emitting the change for the online state.
This code should be removed once we have proper
support for portal detection.
BUG=None
TEST=WiFiManager
Change-Id: Ie390e4b491fba54d41e8c21d2157943ae04ec337
Reviewed-on: https://gerrit.chromium.org/gerrit/12164
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Ready: mukesh agrawal <quiche@chromium.org>
1 file changed