diff options
author | Oli Lan <olilan@google.com> | 2020-04-24 16:01:41 +0100 |
---|---|---|
committer | Oli Lan <olilan@google.com> | 2020-04-28 22:04:08 +0000 |
commit | ac7bc339b2e63cd25594536481cd78d52da9141a (patch) | |
tree | 64e7bfec0b20cd46ac74178e645a5e695e75af20 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2986572ae8b84a4607af2cc123c163cef173b38f (diff) |
Block rollback commit if it may violate min extension constraint.
This CL adds a check when a rollback is committed, if the rollback
contains an apex and an extension version has increased since
the rollback was created. The check looks for any installed app with
a minExtensionVersion greater than was present when the rollback was
created.
If such an app exists, the rollback commit is not allowed to occur.
See go/sdk-extensions-and-rollback for more details.
Bug: 152737927
Test: atest RollbackUnitTest
Test: atest RollbackTest
Test: atest RollbackManagerHostTest
Merged-In: I7fd7d98a03ecb1edb1b79475fadb944bc4f2fd6f
Change-Id: I7fd7d98a03ecb1edb1b79475fadb944bc4f2fd6f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions