commit | 116b4c0b6b3c4ee72b3e4c408bd79ff5d42de4eb | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Tue Aug 16 07:21:55 2022 +0000 |
committer | Paul Hu <paulhu@google.com> | Tue Aug 16 07:21:55 2022 +0000 |
tree | 33348b6b1b4a1cbb4c57ee2d00a34139ae5ea5ef | |
parent | dd2eca9e4a5b3f9569197f09b0d50aab7b6ad42f [diff] |
Add null check for clientInfo If the binder death notification for a INsdManagerCallback was received before any calls are received by NsdService, the clientInfo would be cleared and cause NPE. Thus, add a null check to prevent crash. Bug: 241741274 Test: atest FrameworksNetTests Change-Id: Iebe761cd579bf3ee46ead389620bed60a21e3154