commit | bb4d45fb7049715a5b926fe148e7b4e0a7712062 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Jan 18 14:15:17 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Jan 18 07:49:26 2021 +0000 |
tree | 78cd83b60060081354e62749acd6a386029de66f | |
parent | ac155fc61e26c4a92a82d786c2f5d38e76bf0991 [diff] |
Enforce that NetworkAgentInfo fields are never null. These fields have been recently audited, confirmed never to be null, and annotated @NonNull. Ensure that they can never become null by throwing exceptions in the codepaths that set them. Also remove some null checks. Test: atest FrameworksNetTests Change-Id: I6ce5bb4d69a990f1c857c599b7e50e372352eb87