Merge "CallManager: do not deliver ring event if fg call is live." into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
f6354aca3a
@@ -1288,7 +1288,10 @@ public final class CallManager {
|
||||
mUnknownConnectionRegistrants.notifyRegistrants((AsyncResult) msg.obj);
|
||||
break;
|
||||
case EVENT_INCOMING_RING:
|
||||
mIncomingRingRegistrants.notifyRegistrants((AsyncResult) msg.obj);
|
||||
// The event may come from RIL who's not aware of an ongoing fg call
|
||||
if (!hasActiveFgCall()) {
|
||||
mIncomingRingRegistrants.notifyRegistrants((AsyncResult) msg.obj);
|
||||
}
|
||||
break;
|
||||
case EVENT_RINGBACK_TONE:
|
||||
mRingbackToneRegistrants.notifyRegistrants((AsyncResult) msg.obj);
|
||||
|
||||
Reference in New Issue
Block a user