summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShareef Ali <shareefalis@cyanogenmod.org>2013-07-08 20:30:49 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2013-07-08 20:30:49 -0700
commitf5114b479928d0b6869c6bbd2a3fbeb0f90af79e (patch)
tree9f4ce7ec38562d83ba69661328550f2bc4ae3c88
parent3be9b07951326a2df37e162d6c2de0cc98db7dce (diff)
parent11e0766529b665788c632636d5498e644ff82dd0 (diff)
downloadframeworks_opt_telephony-f5114b479928d0b6869c6bbd2a3fbeb0f90af79e.zip
frameworks_opt_telephony-f5114b479928d0b6869c6bbd2a3fbeb0f90af79e.tar.gz
frameworks_opt_telephony-f5114b479928d0b6869c6bbd2a3fbeb0f90af79e.tar.bz2
Merge "Revert "CallTracker: Add delay to reduce cpu load"" into cm-10.1
-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;