commit | 83d065696f872bdd52097605e79c8559e2cd8834 | [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 | f49e1b0c6c9357f6247d3bb9b5e37110958d855c [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