Skip to content

Commit

Permalink
Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brown authored and Android (Google) Code Review committed Apr 18, 2013
2 parents d2fe47f + f110a37 commit a454c57
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -481,6 +481,7 @@ private void updateConnection() {
mRemoteDisplayConnected = false;
mHandler.removeCallbacks(mRtspTimeout);

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

Expand Down Expand Up @@ -626,6 +627,7 @@ public void onFailure(int reason) {
}

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

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

0 comments on commit a454c57

Please sign in to comment.