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

Commit f110a370 authored by Jeff Brown's avatar Jeff Brown
Browse files

Sent hint to Wifi driver when enabling WFD.

Bug: 8521148
Change-Id: I53b4cf7a3714b28f9df457e559abe92711c02cef
parent 25b49734
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -481,6 +481,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
            mRemoteDisplayConnected = false;
            mHandler.removeCallbacks(mRtspTimeout);

            mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_DISABLED);
            setRemoteSubmixOn(false);
            unadvertiseDisplay();

@@ -626,6 +627,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
            }

            setRemoteSubmixOn(true);
            mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE);

            final WifiP2pDevice oldDevice = mConnectedDevice;
            final int port = getPortNumber(mConnectedDevice);