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

Commit e5365e7e 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 am: d8af3e48

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

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