Merge "Ensure handleUpdateLinkProperties runs on the CS handler thread."
This commit is contained in:
@@ -5565,6 +5565,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
}
|
||||
|
||||
public void handleUpdateLinkProperties(NetworkAgentInfo nai, LinkProperties newLp) {
|
||||
ensureRunningOnConnectivityServiceThread();
|
||||
|
||||
if (getNetworkAgentInfoForNetId(nai.network.netId) != nai) {
|
||||
// Ignore updates for disconnected networks
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user