Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a128f5f8 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am 1a230885: Merge "Fix NPE when going from proxy to no proxy." into honeycomb-LTE

* commit '1a230885':
  Fix NPE when going from proxy to no proxy.
parents 86574d66 1a230885
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2300,7 +2300,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
        synchronized (this) {
            if (mDefaultProxy != null && mDefaultProxy.equals(proxy)) return;
            if (mDefaultProxy == proxy) return;
            if (!TextUtils.isEmpty(proxy.getHost())) {
            if (proxy != null && !TextUtils.isEmpty(proxy.getHost())) {
                mDefaultProxy = proxy;
            } else {
                mDefaultProxy = null;