diff options
author | Kweku Adams <kwekua@google.com> | 2020-03-23 12:18:24 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-03-24 13:59:57 +0000 |
commit | caafee4101b4fc0587835e48ebf5545300adc2c1 (patch) | |
tree | 802fd41c837648cdd299ef00595b6ee66baba93e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f1d96d48f6a50d16ef1b70344a5f92d809bce740 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions