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

Commit d8af3e48 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix issue that duplicate the missed call notification" am: fefea376

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telecomm/+/1977978

Change-Id: I6e2f3281a668a654932cd2b1dd9d792fba727fe2
parents b141b357 fefea376
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;
        }