Merge "Revert "wfd: release wifi p2p resource on disconnecting from WFD service."" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c3c3fbbaa3
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user