am 1a58d9c3: Merge "Partial fix for issue 3124895." into gingerbread

This commit is contained in:
Eric Laurent
2010-10-26 08:14:48 -07:00
committed by Android Git Automerger

View File

@ -380,7 +380,7 @@ public final class CallManager {
break;
case OFFHOOK:
Phone fgPhone = getFgPhone();
if (!(fgPhone instanceof SipPhone)) {
if (hasActiveFgCall() && !(fgPhone instanceof SipPhone)) {
mode = AudioManager.MODE_IN_CALL;
}
break;