summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorOli Lan <olilan@google.com>2020-04-24 16:01:41 +0100
committerOli Lan <olilan@google.com>2020-04-28 22:04:08 +0000
commitac7bc339b2e63cd25594536481cd78d52da9141a (patch)
tree64e7bfec0b20cd46ac74178e645a5e695e75af20 /tools/aapt2/java/JavaClassGenerator.cpp
parent2986572ae8b84a4607af2cc123c163cef173b38f (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