commit | 71aee27853c32c70520b25e1f1d18432464a0e6c | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Jan 12 20:27:32 2020 +0900 |
committer | Chiachang Wang <chiachangwang@google.com> | Tue Jan 21 12:55:29 2020 +0000 |
tree | 5d146eac60baf070f2062d9188c3e37b6b9f4f9c | |
parent | c5d825c14e4c4a88e0ccb859cbb9821f419f6603 [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 Merged-In: I79478ceff6bbcae879d1025098d177de0d15dbee