diff --git a/service/src/com/android/server/ConnectivityService.java b/service/src/com/android/server/ConnectivityService.java index a3b8b18854..0173861427 100644 --- a/service/src/com/android/server/ConnectivityService.java +++ b/service/src/com/android/server/ConnectivityService.java @@ -5091,10 +5091,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; }