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

Commit fefea376 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix issue that duplicate the missed call notification"

parents 62376fe4 9d1b95d3
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -607,10 +607,12 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
            CallInfoFactory callInfoFactory, final UserHandle userHandle) {
        Log.d(this, "reloadFromDatabase: user=%d", userHandle.getIdentifier());
        if (TelecomSystem.getInstance() == null || !TelecomSystem.getInstance().isBootComplete()) {
            if (!mUsersToLoadAfterBootComplete.contains(userHandle)) {
                Log.i(this, "reloadFromDatabase: Boot not yet complete -- call log db may not be "
                        + "available. Deferring loading until boot complete for user %d",
                        userHandle.getIdentifier());
                mUsersToLoadAfterBootComplete.add(userHandle);
            }
            return;
        }