diff options
author | Richard Uhler <ruhler@google.com> | 2019-04-26 10:20:12 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2019-04-26 13:22:51 +0100 |
commit | 1924d6dbb8123199c9581119c84fd8269149553d (patch) | |
tree | f8875c9a425a4b5cba2aff7360eb8c61cecc3406 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 533f3bcdbad329483198d198445606fe594e081e (diff) |
Expire rollback when apex is updated.
RollbackManager relies on package changed broadcasts to expire rollbacks
when an application is updated, but we don't receive package changed
broadcasts for apex.
This change adds an extra check when starting RollbackManager to see if
any apex versions have changed and expires rollbacks as appropriate.
Adds a test case to cover the scenario and refactors the test code
to properly set up the test apex in all cases with minimal reboots.
Bug: 126358044
Test: atest StagedRollbackTest, with new test added.
Change-Id: I7ea4953e4aff8d1c7560d6c61e6be5e4e8e1f194
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions