Merge "Revert "wfd: release wifi p2p resource on disconnecting from WFD service."" into sc-dev am: c3c3fbbaa3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15008435 Change-Id: If1f8236442b56715a9ea80dbce6177aa34345f1d
This commit is contained in:
@@ -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