Remove reference of NetworkAgent#unwanted() am: 705370a231

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1645295

Change-Id: I8cd0f3ccebb2f6a81582700c3a2d5a844bfe590f
This commit is contained in:
junyulai
2021-03-19 11:53:15 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -1263,7 +1263,7 @@ public class Vpn {
new NetworkScore.Builder().setLegacyInt(VPN_DEFAULT_SCORE).build(),
networkAgentConfig, mNetworkProvider) {
@Override
public void unwanted() {
public void onNetworkUnwanted() {
// We are user controlled, not driven by NetworkRequest.
}
};

View File

@@ -1444,7 +1444,7 @@ public class VcnGatewayConnection extends StateMachine {
new NetworkAgentConfig.Builder().build(),
mVcnContext.getVcnNetworkProvider()) {
@Override
public void unwanted() {
public void onNetworkUnwanted() {
Slog.d(TAG, "NetworkAgent was unwanted");
teardownAsynchronously();
}