commit | 57605d3db066bbbced53f8f875b96310a2b66829 | [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 | c2ae08c3c94622596740975e5844ed6946c8de34 | |
parent | 36b467616cf9553754cf0e092443db2ea67e9609 [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