Merge "Partial fix for issue 3124895." into gingerbread

This commit is contained in:
Eric Laurent
2010-10-26 08:13:32 -07:00
committed by Android (Google) Code Review

View File

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