OSDN Git Service

Don't clear Global Proxy on boot.
authorJason Monk <jmonk@google.com>
Tue, 27 Aug 2013 14:51:24 +0000 (10:51 -0400)
committerJason Monk <jmonk@google.com>
Tue, 27 Aug 2013 14:51:24 +0000 (10:51 -0400)
Doesn't clear the global proxy when a deprecated one is not found because
there still may be a non-deprecated global proxy present.

Bug: 10457179
Change-Id: I68e6d5aee7b4940f9315484060c7d82cb8ccfa70

services/java/com/android/server/ConnectivityService.java

index ec6b063..136a85e 100644 (file)
@@ -3355,8 +3355,6 @@ public class ConnectivityService extends IConnectivityManager.Stub {
             }
             ProxyProperties p = new ProxyProperties(data[0], proxyPort, "");
             setGlobalProxy(p);
-        } else {
-            setGlobalProxy(null);
         }
     }