am cb0db030: Merge branch \'ics-mr1-plus-aosp\' of ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp am: 6cd46ce696

Original change: undetermined

Change-Id: Idd723c47f2faf482d346a07067ac36a17596c585
This commit is contained in:
Akwasi Boateng
2021-05-31 12:11:07 +00:00
committed by Automerger Merge Worker

View File

@@ -514,7 +514,9 @@ public class ConnectivityService extends IConnectivityManager.Stub {
continue; continue;
} }
mCurrentLinkProperties[netType] = null; mCurrentLinkProperties[netType] = null;
if (mNetConfigs[netType].isDefault()) mNetTrackers[netType].reconnect(); if (mNetTrackers[netType] != null && mNetConfigs[netType].isDefault()) {
mNetTrackers[netType].reconnect();
}
} }
IBinder b = ServiceManager.getService(Context.NETWORKMANAGEMENT_SERVICE); IBinder b = ServiceManager.getService(Context.NETWORKMANAGEMENT_SERVICE);