am f6354aca: Merge "CallManager: do not deliver ring event if fg call is live." into gingerbread
Merge commit 'f6354aca3a4d0571a66747d9cdc247a1d411d660' into gingerbread-plus-aosp * commit 'f6354aca3a4d0571a66747d9cdc247a1d411d660': CallManager: do not deliver ring event if fg call is live.
This commit is contained in:
@@ -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