WifiDisplayController: No update when network state is CONNECTING

Separated CONNECTING state case so that P2P connection won't be
cancelled by it.

Bug: 238572065
Bug: 247963331
Test: atest FrameworksWifiTests
Change-Id: I16e4d471c31a30063f486217b9ef96941a6a770d
This commit is contained in:
Mia
2022-07-21 04:51:28 +00:00
committed by Mia Li
parent 789753961d
commit 27e9533afe

View File

@@ -885,7 +885,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
}
});
}
} else {
} else if (!networkInfo.isConnectedOrConnecting()) {
mConnectedDeviceGroupInfo = null;
// Disconnect if we lost the network while connecting or connected to a display.