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

Commit 98c136b9 authored by Junyeong Bak's avatar Junyeong Bak Committed by Automerger Merge Worker
Browse files

Fixed that the duplicated UserHandle not to be added when it's delivered while...

Fixed that the duplicated UserHandle not to be added when it's delivered while booting process am: b94c50ec am: 313ae7ef am: f99f9f33

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

Change-Id: I07c79ee839bd5ecd4f75f3b7805c248516ba96f5
parents 2f689c4f f99f9f33
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -68,14 +68,15 @@ import android.text.TextUtils;

import android.telecom.CallerInfo;
import android.util.ArrayMap;
import android.util.ArraySet;

import java.lang.Override;
import java.lang.String;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Set;

/**
 * Creates a notification for calls that the user missed (neither answered nor rejected).
@@ -141,7 +142,7 @@ public class MissedCallNotifierImpl extends CallsManagerListenerBase implements
    // Used to track the number of missed calls.
    private final Map<UserHandle, Integer> mMissedCallCounts;

    private List<UserHandle> mUsersToLoadAfterBootComplete = new ArrayList<>();
    private Set<UserHandle> mUsersToLoadAfterBootComplete = new ArraySet<>();

    public MissedCallNotifierImpl(Context context, PhoneAccountRegistrar phoneAccountRegistrar,
            DefaultDialerCache defaultDialerCache,