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

Commit 220af492 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

Change-Id: I8c3188a127b1c8e7857f3505b5b2e0e130fb6fc3
parents be5e3978 3f1d36a1
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