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

Commit 3f1d36a1 authored by Jack Yu's avatar Jack Yu Committed by Gerrit Code Review
Browse files

Merge "We should only bind to qualified networks service in AP-assisted mode"

parents 56380225 3dc0bfea
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