diff options
author | Patrick Baumann <patb@google.com> | 2019-04-09 15:07:25 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2019-04-11 11:07:13 -0700 |
commit | 00321b7026f029e84411970620633a0876aabdc9 (patch) | |
tree | 96c4981c8473eb5ce835e92042ff4a8a9af98c5b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 10673d513f35cf24a92a960fad1b4f1657a1d684 (diff) |
Adds sanity checks to session commit and abandon
This change ensures we cannot commit or abandon a child session that has
been added to a parent session. It also ensures that a child session
being added to a parent has not already been added to another parent and
that it has not yet been committed or destroyed.
Fixes: 129534286
Test: atest CtsAtomicInstallTestCases:AtomicInstallTest
Change-Id: Id1b3524acb5bf546f7239ae644fb3080c0d3128b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions