From cce83379ef5ddd122ffe6fcce431cb86d059a74b Mon Sep 17 00:00:00 2001 From: Robert Greenwalt Date: Fri, 23 Apr 2010 17:35:29 -0700 Subject: [PATCH] Handle throttling being disabled via policy change bug:2622543 Change-Id: Ic0c169094cdb4f80af9cfcbed116f59fda46a421 --- services/java/com/android/server/ThrottleService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/java/com/android/server/ThrottleService.java b/services/java/com/android/server/ThrottleService.java index 2fe7420e3803e..a1aa5555b1623 100644 --- a/services/java/com/android/server/ThrottleService.java +++ b/services/java/com/android/server/ThrottleService.java @@ -457,6 +457,7 @@ public class ThrottleService extends IThrottleManager.Stub { private void checkThrottleAndPostNotification(long currentTotal) { // is throttling enabled? if (mPolicyThreshold == 0) { + clearThrottleAndNotification(); return; }