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

Commit e4827852 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"...

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

Change-Id: Iff8af95006f130fac36ef76c5669105185c33d0f
parents f4557f61 27179a71
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