diff options
author | Robert Greenwalt <robdroid@android.com> | 2010-04-23 17:35:29 -0700 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2010-04-23 17:35:29 -0700 |
commit | cce83379ef5ddd122ffe6fcce431cb86d059a74b (patch) | |
tree | 84cb71f9de2f1e7a26b82ebd8e91e5fc65be1cc0 /services/java | |
parent | 0b2ebe9b45172b9147f86fd69eedb2a200982b68 (diff) | |
download | frameworks_base-cce83379ef5ddd122ffe6fcce431cb86d059a74b.zip frameworks_base-cce83379ef5ddd122ffe6fcce431cb86d059a74b.tar.gz frameworks_base-cce83379ef5ddd122ffe6fcce431cb86d059a74b.tar.bz2 |
Handle throttling being disabled via policy change
bug:2622543
Change-Id: Ic0c169094cdb4f80af9cfcbed116f59fda46a421
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/ThrottleService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/ThrottleService.java b/services/java/com/android/server/ThrottleService.java index 2fe7420..a1aa555 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; } |