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

Commit ab6294e4 authored by Chong Zhang's avatar Chong Zhang Committed by Android Git Automerger
Browse files

am db44cb92: am 6b0653ff: am bfdecccc: Merge "Only scan for wifi display when...

am db44cb92: am 6b0653ff: am bfdecccc: Merge "Only scan for wifi display when there is no active connections" into klp-dev

* commit 'db44cb92':
  Only scan for wifi display when there is no active connections
parents 5d958998 db44cb92
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1343,12 +1343,6 @@ public class MediaRouter {
                }
            }
        }

        // Don't scan if we're already connected to a wifi display,
        // the scanning process can cause a hiccup with some configurations.
        if (wantScan && activeDisplay != null && sStatic.mCanConfigureWifiDisplays) {
            sStatic.mDisplayService.scanWifiDisplays();
        }
    }

    private static boolean shouldShowWifiDisplay(WifiDisplay d, WifiDisplay activeDisplay) {