am e568672c: Merge "Fix NPE in ConnectivityService" into klp-dev
* commit 'e568672c9e57e1d7066e95ba547a1ae568409226': Fix NPE in ConnectivityService
This commit is contained in:
@@ -3457,7 +3457,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
synchronized (mProxyLock) {
|
||||
if (mDefaultProxy != null && mDefaultProxy.equals(proxy)) return;
|
||||
if (mDefaultProxy == proxy) return; // catches repeated nulls
|
||||
if (!proxy.isValid()) {
|
||||
if (proxy != null && !proxy.isValid()) {
|
||||
if (DBG) log("Invalid proxy properties, ignoring: " + proxy.toString());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user