Remove unnecessary +1ms to quota window calculation.
In the simple case of a quota of 1, if an alarm goes off at time t into the window (assume a window [0, w)), the next alarm is eligible at time (t + w) and not (t + w + 1). There was no clear reason to add the extra 1 ms, so we're removing it. Bug: 148623696 Test: atest CtsAlarmManagerTestCases Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest Change-Id: Ib66cfc7020efb6dd94d189efeaeb41db48097144
Loading
Please register or sign in to comment