diff options
| author | 2022-08-16 05:21:56 +0800 | |
|---|---|---|
| committer | 2022-08-18 01:20:05 +0000 | |
| commit | 96132361485022d948d9f68c0628603714d27140 (patch) | |
| tree | ef5802fb9f1235cbdc4522686fc9ca6d00ce0ea2 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | e648d3cb91f9a0156c729ca18ec27e71f59f9ce2 (diff) | |
Use registerSystemDefaultNetworkCallback to listen underlying network
This commit replaces requestNetwork with
registerSystemDefaultNetworkCallback to listen the underlying
network.
Previously, Vpn needs to create a request for default network.
Now, ConnectivityManager provides a new API which can listen the
underlying network. So use the new API -
registerSystemDefaultNetworkCallback instead.
Bug: 236409954
Test: atest FrameworksNetTests
Change-Id: Ic4e558009cbc6ef3d72fff00e8c30559070f6de8
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions