summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java5
-rw-r--r--src/java/com/android/internal/telephony/gsm/GsmCallTracker.java5
2 files changed, 10 insertions, 0 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..a48c13e 100644
--- a/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
+++ b/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
@@ -502,6 +502,11 @@ public final class CdmaCallTracker extends CallTracker {
if (slow_modem) {
if (polledCalls.size() == 0 && !hangupPendingMO){
+ try {
+ Thread.sleep(250);
+ } catch(InterruptedException ex) {
+ Thread.currentThread().interrupt();
+ }
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..822626e 100644
--- a/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
+++ b/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
@@ -437,6 +437,11 @@ public final class GsmCallTracker extends CallTracker {
if (slow_modem) {
if (polledCalls.size() == 0 && !hangupPendingMO){
+ try {
+ Thread.sleep(250);
+ } catch(InterruptedException ex) {
+ Thread.currentThread().interrupt();
+ }
lastRelevantPoll = obtainMessage(EVENT_POLL_CALLS_RESULT);
cm.getCurrentCalls(lastRelevantPoll);
return;