Fix send/receive MMS while the phone's state isn't in IDLE and the Network type can support voice and data calls concurrently

Change-Id: I67e5b1f6e4f855cc09dd76c251a86a06990b6499
This commit is contained in:
Kenny
2010-02-27 13:33:11 +08:00
committed by Jean-Baptiste Queru
parent 61af57bfc3
commit 36a86649db

View File

@@ -442,7 +442,8 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
if ((state == State.IDLE || state == State.SCANNING)
&& (gprsState == ServiceState.STATE_IN_SERVICE || noAutoAttach)
&& mGsmPhone.mSIMRecords.getRecordsLoaded()
&& phone.getState() == Phone.State.IDLE
&& (mGsmPhone.mSST.isConcurrentVoiceAndData() ||
phone.getState() == Phone.State.IDLE )
&& isDataAllowed()
&& !mIsPsRestricted
&& desiredPowerState ) {