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

Commit 2725a655 authored by Chung-yih Wang's avatar Chung-yih Wang
Browse files

Fix a bug in unregisterPhone().

Change-Id: Ifaef66d45043dc5376688a77f9d18124a9c29576
parent 091c5238
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());