From 59dca37d8277a4417e79d838e557a0c3e2efd5a1 Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Fri, 8 Aug 2014 14:19:58 -0700 Subject: [PATCH] Remove extraneous clearing of inet condition This was old code I missed in previous inet condition refactor and caused us to show "not connect" icon any time we connected to a secondary network (mms/supl/etc). bug:16896743 Change-Id: I0fa62e09bb0b7c0ee0864bb1f95967eac5f60d3e --- .../core/java/com/android/server/ConnectivityService.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java index 08cb7914b7..b229c4f39b 100644 --- a/services/core/java/com/android/server/ConnectivityService.java +++ b/services/core/java/com/android/server/ConnectivityService.java @@ -4470,11 +4470,6 @@ public class ConnectivityService extends IConnectivityManager.Stub { 1000); } } - - // this will cause us to come up initially as unconnected and switching - // to connected after our normal pause unless somebody reports us as - // really disconnected - mDefaultInetConditionPublished = 0; // TODO - read the tcp buffer size config string from somewhere // updateNetworkSettings(); }