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

Commit 5632c158 authored by Jack Yu's avatar Jack Yu
Browse files

Reverse the order of setting data profiles

Notify modem all the data profiles for current carriers, and
then select one of them as the data profile for initial attach.

Fix: 213034706
Test: Manual
Change-Id: Ibcdaaf1425ce370d0183876d84a5b759676040b6
parent f22b2f86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,8 +271,8 @@ public class DataProfileManager extends Handler {
        // Reload the latest preferred data profile from either database or config.
        profilesChanged |= updatePreferredDataProfile();

        updateInitialAttachDataProfileAtModem();
        updateDataProfilesAtModem();
        updateInitialAttachDataProfileAtModem();

        if (profilesChanged) {
            mDataProfileManagerCallbacks.forEach(callback -> callback.invokeFromExecutor(