commit | a03968f74a53f05762597af7e055703b6f409e06 | [log] [tgz] |
---|---|---|
author | Jimmy Chen <jimmycmchen@google.com> | Tue Apr 13 00:19:15 2021 +0800 |
committer | Jimmy Chen <jimmycmchen@google.com> | Tue Apr 13 11:18:25 2021 +0800 |
tree | 0d6a711b94b78169c3f3ae15dead31abb06dd8aa | |
parent | d2f0852a4adca6fa0d351effa0f6a78855d918d2 [diff] |
wifi: cache HAL object to avoid NPE due to race condition When supplicant is restarted, there might be race condition between null check and API executation. Caching HAL objects to avoid NPE and trigger remote exception correctly. Bug: 176306613 Test: atest FrameworksWifiTests Change-Id: I45492a4cde2a761e6ef0dde7b328da6c0e2b7e0a