Merge "Remove DISCONNECTING check from handleReportNetworkConnectivity" am: 9ad8acd76e
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1772439 Change-Id: I66569d993972c82400eb5583f182bedea9d75a54
This commit is contained in:
commit
ad07afc824
1 changed files with 0 additions and 2 deletions
|
|
@ -5083,10 +5083,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
|
||||
private void handleReportNetworkConnectivity(
|
||||
@Nullable NetworkAgentInfo nai, int uid, boolean hasConnectivity) {
|
||||
// TODO(b/192611346): remove NetworkInfo.State.DISCONNECTING as it's not used
|
||||
if (nai == null
|
||||
|| nai != getNetworkAgentInfoForNetwork(nai.network)
|
||||
|| nai.networkInfo.getState() == NetworkInfo.State.DISCONNECTING
|
||||
|| nai.networkInfo.getState() == NetworkInfo.State.DISCONNECTED) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue