Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26213ed9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "(Really) fix LingerMonitor rate limiting"

parents 954b9825 f82a931f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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() {