am 2725a655: Fix a bug in unregisterPhone().
Merge commit '2725a6551261044318e42ccc9ebeabed7edf5ee7' into gingerbread-plus-aosp * commit '2725a6551261044318e42ccc9ebeabed7edf5ee7': Fix a bug in unregisterPhone().
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user