Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce06d120 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "wfd: release wifi p2p resource on disconnecting from WFD...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15008435

Change-Id: Ib18ba46b66640d930afea599c46c6dcd2b0328b9
parents 2137220d c3c3fbba
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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();
    }