Merge "(Really) fix LingerMonitor rate limiting"
am: cf33708bcd
Change-Id: I3b03f5985137a57e7c3ed3b2e0030078a4ea676d
This commit is contained in:
commit
e668ae16bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue