commit | 782b48d5674fb978d9d01c9b56a1d4911be25009 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Jan 12 20:27:32 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Jan 13 14:49:15 2020 +0900 |
tree | 51f5375c2525b2d6fb09282f7e5307309a509ba9 | |
parent | 22e130b6a3e21882a3333d61aa5e28e52842bad9 [diff] |
Make NetworkAgent stop subclassing Handler. Subclassing Handler is not appropriate for a system API because it is an implementation detail and allows users of this class to post messages to the handler in ways that allow inappropriate access to internals that aren't part of the API contract. Also fix some lint errors. Test: builds Bug: 138306002 Change-Id: I79478ceff6bbcae879d1025098d177de0d15dbee