diff options
author | JW Wang <wangchun@google.com> | 2020-12-03 13:24:09 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-12-08 16:54:53 +0800 |
commit | c640ee7f43ec46f0f5c03d4242d8168f2dbaf6d9 (patch) | |
tree | 7a878f2b327d6fe038b54ff3e4181d3158572596 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c43d935c42a55f7498a89d52a7df8592e7f06477 (diff) |
Sessions committed later shouldn't cause earlier ones to fail
When 2 sessions have overlapping packages, the one committed earlier
should pass the overlapping check while the later one should fail.
1. Add a field to denote the time when a session is committed.
2. When doing overlapping check, only consider sessions that are
committed before the current session.
Bug: 174442862
Test: atest StagingManagerTest PackageInstallerSessionTest
Change-Id: Ieeafc879f32b1228d451307b194d65146c7496c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions