commit | a4b365a22862ee8eac72f8f37afe3848d3126f3d | [log] [tgz] |
---|---|---|
author | Jimmy Chen <jimmycmchen@google.com> | Fri Jul 02 11:49:48 2021 +0800 |
committer | Jimmy Chen <jimmycmchen@google.com> | Mon Jul 05 10:10:02 2021 +0800 |
tree | 65606f921ad8d1e1a988e2bf1f9ad0b6f84f34a0 | |
parent | 337d4df015cfde786225cbfe9eb50158f6d90b3d [diff] |
wifi: create a new IMS network callback on starting deferring handler Network lost events might not be received before the deferring timeout and network count is kept in the object. This will accumulate the network count incorrectly and always trigger wifi off deferring. Creating a new callbck object on starting the deferring handler to ensure that all internal data are cleared. Bug: 190512258 Test: atest FrameworksWifiTests Change-Id: I5fa9f81132b25d82347679c4ca1152f8a9c19536