Wifi: bug fix of BT connection active signal.

When BT was connected and then turned off, there is no ACTION_CONNECT_STATE_CHANGE
message during on->off transition. The connection active signal remains true in this
case. The change is to pass the ACTION_STATE_CHANGE message to ClientModeImpl and
generate bluetoothConnectionActive signal correctlY.

Bug: 144126207
Test: unit test with atest com.android.server.wifi
Test: manual test with phone and BT headset.

Change-Id: Ib95ac1a45443f0a0385ff7ce2cb7c9052a8dfc66
3 files changed
tree: 38ae824391aefc78400061352b71bd8eb78475f8
  1. apex/
  2. service/
  3. PREUPLOAD.cfg