commit | 02fc853a9080d090d01b35d7490872e0d40c73ce | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Thu Apr 29 20:16:52 2021 -0700 |
committer | David Su <dysu@google.com> | Thu Apr 29 20:19:22 2021 -0700 |
tree | dd309191176fa68e65984d66bf4108ad4b5699dc | |
parent | 2dbb06835c149c11c69d16f30ba3d9146cf10934 [diff] |
SupplicantStateTracker: only update BatteryStats if primary Multiple STAs updating supplicant state to BatteryStats doesn't make sense as the expected order of events can become jumbled. Thus, only update BatteryStats for the SupplicantStateTracker corresponding to the primary STA. Bug: 181693252 Test: atest FrameworksWifiTests Change-Id: I3a21a8c3a0ac7dede1746dd935eefef8453bf39d