Merge "Handle throttling being disabled via policy change" into froyo

This commit is contained in:
Robert Greenwalt
2010-04-26 11:13:11 -07:00
committed by Android (Google) Code Review

View File

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