am 19681af4: Merge "Handle throttling being disabled via policy change" into froyo

Merge commit '19681af44b7c7494ae8de28dab8aacc3e9d92390' into froyo-plus-aosp

* commit '19681af44b7c7494ae8de28dab8aacc3e9d92390':
  Handle throttling being disabled via policy change
This commit is contained in:
Robert Greenwalt
2010-04-26 11:18:45 -07:00
committed by Android Git Automerger

View File

@@ -457,6 +457,7 @@ public class ThrottleService extends IThrottleManager.Stub {
private void checkThrottleAndPostNotification(long currentTotal) { private void checkThrottleAndPostNotification(long currentTotal) {
// is throttling enabled? // is throttling enabled?
if (mPolicyThreshold == 0) { if (mPolicyThreshold == 0) {
clearThrottleAndNotification();
return; return;
} }