am 30f045c9: am a50a0e90: Merge "Fix NPE when going from proxy to no proxy." into honeycomb-LTE am: 6e02db1b8d
Original change: undetermined Change-Id: Ic43e9036159f4fc56bc4d2039761d21d7615af3c
This commit is contained in:
@@ -2484,7 +2484,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;
|
||||
|
||||
Reference in New Issue
Block a user