commit | 2f1a13dcba057bc1b7724e1dfe0353c19952a3a5 | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Wed Nov 18 14:24:57 2020 -0800 |
committer | David Su <dysu@google.com> | Fri Nov 20 15:41:34 2020 -0800 |
tree | 805286aefbafe9c240e55c8f7fb6af3995ea3c60 | |
parent | fcfb1eecf08c131ac48df3479c88f1e24302b213 [diff] |
Make SupplicantStateTracker per-ClientModeImpl SupplicantStateTracker is only used by ClientModeImpl. Thus, make it owned by ClientModeImpl, with the same lifetime. Remove CMD_RESET_SUPPLICANT_STATE since a fresh instance of SupplicantStateTracker will be created with every ClientModeImpl instance, so no need to reset. Also performed misc cleanup in SupplicantStateTracker. Bug: 159944009 Test: atest FrameworksWifiTests Change-Id: Iab929c42eb40448a0c51bc9390960564696600e6