Merge "(Really) fix LingerMonitor rate limiting" am: cf33708bcd am: e668ae16bc
am: 4c1318c162
Change-Id: I880d7d28b4c13fd05d1f1541af58d7db60c5c9c3
This commit is contained in:
@@ -90,8 +90,8 @@ public class LingerMonitor {
|
||||
mNotifier = notifier;
|
||||
mDailyLimit = dailyLimit;
|
||||
mRateLimitMillis = rateLimitMillis;
|
||||
// Ensure that (now - mFirstNotificationMillis) >= rateLimitMillis at first
|
||||
mFirstNotificationMillis = -rateLimitMillis;
|
||||
// Ensure that (now - mLastNotificationMillis) >= rateLimitMillis at first
|
||||
mLastNotificationMillis = -rateLimitMillis;
|
||||
}
|
||||
|
||||
private static HashMap<String, Integer> makeTransportToNameMap() {
|
||||
|
||||
Reference in New Issue
Block a user