diff options
| author | 2024-05-23 13:26:31 +0100 | |
|---|---|---|
| committer | 2024-05-24 20:40:45 +0000 | |
| commit | 9004f362d30e4ef443e2e9fd2bcf1b859fcff12e (patch) | |
| tree | e5af9259354d9394b3cff8b47df36340df54fab1 /compiler/optimizing/loop_optimization.h | |
| parent | ca83e1a0008e1eee3e5b6999a8fb643e41d556b6 (diff) | |
Only unmap snapshots if we have mapped snapshots.
When setting up the chroot for a Mainline update, we don't map
snapshots. In this case, we shouldn't unmap snapshots when tearing down
chroot. Although calling `snapshotctl unmap` is a no-op when there is no
snapshot mapped, we may accidentally unmap the snapshots mapped by
update_engine.
Bug: 311377497
Test: atest art_standalone_dexopt_chroot_setup_tests
Test: Run Pre-reboot Dexopt.
Change-Id: I1f7adc084c7c46011527f1e390a052f0c81a380d
Diffstat (limited to 'compiler/optimizing/loop_optimization.h')
0 files changed, 0 insertions, 0 deletions