Merge "(Really) fix LingerMonitor rate limiting" am: cf33708bcd
am: e668ae16bc
Change-Id: I55d69d0bf1102b4159db5ffb4a37684f7a676008
This commit is contained in:
commit
4c1318c162
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