Merge "Revert "wfd: release wifi p2p resource on disconnecting from WFD service."" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-06-17 17:10:05 +00:00
committed by Android (Google) Code Review

View File

@@ -550,11 +550,6 @@ final class WifiDisplayController implements DumpUtils.Dump {
private void disconnect() {
mDesiredDevice = null;
mWifiP2pManager = null;
if (null != mWifiP2pChannel) {
mWifiP2pChannel.close();
mWifiP2pChannel = null;
}
updateConnection();
}