WifiController: set to proper state after SoftAP
After receiving a CMD_AP_STOPPED message, WifiController should return
to the DeviceActive state or the appropriate Idle state. This CL sets
the correct pending state and also adds a check for the idle state.
A test is also added to confirm the DeviceActive state is entered after
the SoftAp state is completed.
Note: An additional test for the DeviceIdle path will be added at a
later point after some code refactoring (bug 28669096)
BUG: 28434530
Change-Id: Ie19e66b9c84ff545a622119890bc7705ebd74c46
2 files changed