diff options
author | JW Wang <wangchun@google.com> | 2020-03-31 14:02:48 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-03-31 18:52:29 +0800 |
commit | 9f8407b0aa145d304911fadb15c6515143e64c0d (patch) | |
tree | 97e7e27c8cbe58f6a2372ea770551cf67bbbfc66 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5b163cfcee971458dd4dadd8d03ed7489e2780db (diff) |
Run expiration when rollback lifetime is changed. DO NOT MERGE
See b/151890602#comment6 for the detail.
When rollback lifetime is changed, we need to re-schedule the
expiration algorithm so rollbacks can expire at the correct time.
Note we combine #runExpiration and #scheduleExpiration so there is only
one entrance to schedule the expiration algorithm.
See
https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/10899294/1/services/core/java/com/android/server/rollback/RollbackManagerServiceImpl.java#672
for the rationale.
Bug: 151890602
Test: atest RollbackTest
Change-Id: I10355143dedc0af92e0b2adfedb5f008e160cbb3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions