diff options
-rw-r--r-- | src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java | 6 | ||||
-rw-r--r-- | src/java/com/android/internal/telephony/gsm/GsmCallTracker.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java index 196e795..ad671d3 100644 --- a/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java +++ b/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java @@ -77,7 +77,7 @@ public final class CdmaCallTracker extends CallTracker { boolean hangupPendingMO; //Used to re-request the list of current calls - boolean slow_modem = (SystemProperties.getInt("ro.telephony.slow_modem",0) != 0); + boolean slowModem = (SystemProperties.getInt("ro.telephony.slowModem",0) != 0); boolean pendingCallInEcm=false; boolean mIsInEmergencyCall = false; @@ -500,8 +500,8 @@ public final class CdmaCallTracker extends CallTracker { boolean needsPollDelay = false; boolean unknownConnectionAppeared = false; - if (slow_modem) { - if (polledCalls.size() == 0 && !hangupPendingMO){ + if (slowModem) { + if (polledCalls.size() == 0 && !hangupPendingMO && pendingMO != null) { lastRelevantPoll = obtainMessage(EVENT_POLL_CALLS_RESULT); cm.getCurrentCalls(lastRelevantPoll); return; diff --git a/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java b/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java index c2d1640..1ebc902 100644 --- a/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java +++ b/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java @@ -82,7 +82,7 @@ public final class GsmCallTracker extends CallTracker { boolean hangupPendingMO; //Used to re-request the list of current calls - boolean slow_modem = (SystemProperties.getInt("ro.telephony.slow_modem",0) != 0); + boolean slowModem = (SystemProperties.getInt("ro.telephony.slowModem",0) != 0); GSMPhone phone; @@ -435,8 +435,8 @@ public final class GsmCallTracker extends CallTracker { boolean needsPollDelay = false; boolean unknownConnectionAppeared = false; - if (slow_modem) { - if (polledCalls.size() == 0 && !hangupPendingMO){ + if (slowModem) { + if (polledCalls.size() == 0 && !hangupPendingMO && pendingMO != null) { lastRelevantPoll = obtainMessage(EVENT_POLL_CALLS_RESULT); cm.getCurrentCalls(lastRelevantPoll); return; |