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

Commit 27179a71 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "We should only bind to qualified networks service in AP-assisted mode" am: 3f1d36a1

am: 220af492

Change-Id: I89adf36a65d69d634015d9ec510326db84426e54
parents ac3da4fd 220af492
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -211,8 +211,12 @@ public class AccessNetworksManager {
        phone.getContext().registerReceiverAsUser(mConfigChangedReceiver, UserHandle.ALL,
                intentFilter, null, null);

        // Only binds to qualified network service in AP-assisted mode. For legacy mode,
        // qualified networks service is not needed.
        if (phone.getTransportManager() != null && !phone.getTransportManager().isInLegacyMode()) {
            bindQualifiedNetworksService();
        }
    }

    /**
     * Find the qualified network service from configuration and binds to it. It reads the