Add metrics for Adaptive Connectivity toggle

Add a new UserActionEvent to track the state change of Adaptive
Connectivity and attach its state to StaEvent.

Bug: 166644305

Test: atest com.android.server.wifi

Updated-PDD: TRUE
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: If33df01ec4292afae29eae61f129923ec82bd0ae
Merged-In: I72762fc129c9f026ca9323b11e4e159ed2706cb7
4 files changed