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

Merge commit '0a6db9bebbd58c6a7e2ad2070d2649a2be57a09a'

* commit '0a6db9bebbd58c6a7e2ad2070d2649a2be57a09a':
  Fix a bug in unregisterPhone().
This commit is contained in:
Chung-yih Wang
2010-08-10 23:44:52 -07:00
committed by Android Git Automerger

View File

@@ -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());