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

Commit ea65ec23 authored by Chung-yih Wang's avatar Chung-yih Wang Committed by Android Git Automerger
Browse files

am 0a6db9be: am 2725a655: Fix a bug in unregisterPhone().

Merge commit '0a6db9be'

* commit '0a6db9be':
  Fix a bug in unregisterPhone().
parents 3fa3403e 0a6db9be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ public final class CallManager {
     * @param phone
     */
    public void unregisterPhone(Phone phone) {
        if (phone != null && !mPhones.contains(phone)) {
        if (phone != null && mPhones.contains(phone)) {
            mPhones.remove(phone);
            mRingingCalls.remove(phone.getRingingCall());
            mBackgroundCalls.remove(phone.getBackgroundCall());