commit | 061f335321a5cc232f8ca9e0769aa392d8e2131b | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Wed May 05 17:50:21 2021 -0700 |
committer | Kweku Adams <kwekua@google.com> | Thu May 06 21:58:13 2021 +0000 |
tree | e463e9c784f8693b3de7cfd423c9b7480bf795ea | |
parent | 0214d012f6f0c06e6297d676fc02620c059dd12a [diff] |
Avoid using stale sessions for cleanup alarm. Remove old EJ timing sessions before we schedule the next cleanup alarm. If we don't remove them, then we will continue to use stale sessions as the basis for the next cleanup alarm, which would eventually result in scheduling alarms in the past. Bug: 187351354 Test: atest FrameworksMockingServicesTest:QuotaControllerTest Change-Id: I1b968e0461efe9aad3e785760a3cd2f5d8d4de8b