commit | 5b5be651a405a02eaba457033e38b1965f1ae62f | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Sep 18 12:52:59 2023 +0000 |
committer | Jiakai Zhang <jiakaiz@google.com> | Mon Sep 18 17:44:38 2023 +0000 |
tree | 5e8a18894cd13ec268ddc792c5b1be4eaedafaaa | |
parent | 92db70b61821d3916cc89d6bcb1cb2d82e2264c5 [diff] |
Don't clear profile on otapreopt. `maybe_open_reference_profile` installs a hook that clears the profile on destruction. This behavior is not expected. Fortunately, the cleanup is blocked by a permission check, so it doesn't cause any damage. However, it should not be attempted in the first place. Bug: 300941544 Test: Run system/update_engine/scripts/update_device.py and see no more "Permission denied" error. Change-Id: I4d98d33a305de2487669ae3d7d69bbc4b9f2615b