summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Shelnutt <shelnutt2@gmail.com>2013-07-04 08:12:59 -0400
committerSeth Shelnutt <shelnutt2@gmail.com>2013-07-04 08:12:59 -0400
commit11e0766529b665788c632636d5498e644ff82dd0 (patch)
tree2e3df29824fc1525c36ed94be76eb2540c4db76c
parent57f67b4244ea8953296f6e4905286e951c3b2918 (diff)
downloadframeworks_opt_telephony-11e0766529b665788c632636d5498e644ff82dd0.zip
frameworks_opt_telephony-11e0766529b665788c632636d5498e644ff82dd0.tar.gz
frameworks_opt_telephony-11e0766529b665788c632636d5498e644ff82dd0.tar.bz2
Revert "CallTracker: Add delay to reduce cpu load"
This reverts commit 57f67b4244ea8953296f6e4905286e951c3b2918. Change-Id: Ia3a65d73e366ec823e236ca30fb134cf66999fca
-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, 0 insertions, 10 deletions
diff --git a/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
index a48c13e..196e795 100644
--- a/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
+++ b/src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java
@@ -502,11 +502,6 @@ 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 822626e..c2d1640 100644
--- a/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
+++ b/src/java/com/android/internal/telephony/gsm/GsmCallTracker.java
@@ -437,11 +437,6 @@ 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;