From 11e0766529b665788c632636d5498e644ff82dd0 Mon Sep 17 00:00:00 2001 From: Seth Shelnutt Date: Thu, 4 Jul 2013 08:12:59 -0400 Subject: Revert "CallTracker: Add delay to reduce cpu load" This reverts commit 57f67b4244ea8953296f6e4905286e951c3b2918. Change-Id: Ia3a65d73e366ec823e236ca30fb134cf66999fca --- src/java/com/android/internal/telephony/cdma/CdmaCallTracker.java | 5 ----- src/java/com/android/internal/telephony/gsm/GsmCallTracker.java | 5 ----- 2 files changed, 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; -- cgit v1.1