summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-09-09 16:15:52 -0700
committer Mathieu Chartier <mathieuc@google.com> 2016-09-09 16:19:24 -0700
commita029c0726d082d117f85cc7bc2faef1f1af6d51d (patch)
tree8c779fd44104a429f3a22b3e4a6d83e5e820f320 /vulkan/libvulkan/api.cpp
parent4df766b00ac6801f2e4462b20b6dd6f195051afb (diff)
Unlink app image if copy fails for A/B OTA
Usually this happens when the app was recompiled with interpret-only. In this case, move_ab_path will fail for the app image. If this occurs, delete the existing app image to not have a stale one wasting storage space. Test: Make fake AB ota, delete the a/b generated app image, take the OTA, ensure there is no stale app image after reboot. Also tested that other apps with valid app images still had an image. Bug: 31323617 Change-Id: I699b5eb3dc8f82759c284a1d299865b2c3a890d0
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions