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

Commit 075e5deb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix LingerMonitor notification rate limiting"

parents 2c0a0092 1fedd293
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -90,6 +90,8 @@ public class LingerMonitor {
        mNotifier = notifier;
        mDailyLimit = dailyLimit;
        mRateLimitMillis = rateLimitMillis;
        // Ensure that (now - mFirstNotificationMillis) >= rateLimitMillis at first
        mFirstNotificationMillis = -rateLimitMillis;
    }

    private static HashMap<String, Integer> makeTransportToNameMap() {