commit | 33b883fcb7ef4e11dc3260149c8a0702ac29b726 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Mon Feb 01 17:10:01 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Mon Feb 01 17:12:48 2021 +0800 |
tree | 026dd21c34d06cca9da81c46cf940f516d33bfdf | |
parent | 86e190a6e99414e1a3ec1c1989ecd18a21a59aa1 [diff] |
Use onNetworkUnwanted() instead of unwanted() NetworkAgent#unwanted() is a hidden API which cannot be called after putting NetworkAgent into mainline module, so the caller should use the public one - NetworkAgent#onNetworkUnwanted() instead. Bug: 178991503 Test: Add a log and connect to a network which is provided by another device through BT tethering. Disconnect the BT network and check the log. Change-Id: Ib341289366e2c1c2ac8e653ccddd9df81b2084d4