diff options
author | Richard Uhler <ruhler@google.com> | 2019-03-18 11:38:46 +0000 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2019-03-18 14:05:28 +0000 |
commit | 1fc10c1209f3d20502020776f5ae82cc5d37f1f7 (patch) | |
tree | bcdd8dfb5ae1edb20b54579185306dbd11e97db1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e3cbf906eec366057bfe411874ca8e4a55531000 (diff) |
Only allow rollback to be enabled on modules.
Only allow rollback to be enabled on the modules included in a mainline
update. We don't want to support rollbacks for all apks in general yet.
Enforce that only installers granted the MANAGE_ROLLBACKS permission can
enable rollback for a package.
Introduce a new TEST_MANAGE_ROLLBACKS permission that can be used to
enable rollback on packages that are not modules. This allows us to
continue testing rollbacks, given we can't do a mainline update as part
of the rollback tests.
Test: atest RollbackTest, with new tests for permissions added.
Bug: 128277794
Change-Id: I29ab9a750a1283592b8a855322ece516e42260ca
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions