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

Commit 56925d65 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Always update peer list in display controller

Display controller should always stay in sync with peer list to avoid
showing incorrect available status on peers which would
cause connectivity issues.

Bug: 7268307
Change-Id: If04644339c1ee3f567939e4441dd6f6a45e4179a
parent 30ed33b1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -639,10 +639,10 @@ final class WifiDisplayController implements DumpUtils.Dump {
    }

    private void handlePeersChanged() {
        if (mWfdEnabled) {
        // Even if wfd is disabled, it is best to get the latest set of peers to
        // keep in sync with the p2p framework
        requestPeers();
    }
    }

    private void handleConnectionChanged(NetworkInfo networkInfo) {
        mNetworkInfo = networkInfo;