commit | a5dc1667f752dc2446e6de12279614a4fd9e2fe2 | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Mon Jan 30 13:29:44 2017 -0800 |
committer | Etan Cohen <etancohen@google.com> | Mon Jan 30 15:22:52 2017 -0800 |
tree | 100623e09f82ac1124994fb48d5dfd5ff6d773c2 | |
parent | 855a83a6289470f52da2fab10e53b0f7f26a7553 [diff] |
[HAL Device Manager] Stop Wi-Fi if (re)started When getting notification that Wi-Fi service is started we don't know if this is a re-start of the service or potentially of the framework itself. If the framework is restarted then it is possible that the state of the service and framework are out-of-sync. Therefore, on every service restart make sure to reset it by stopping Wi-Fi. Bug: 34474043 Test: unit tests Change-Id: I5968598756cae3c1181659ef153b36cada7c2c16