commit | fdf7b58a43d7a518c76761ab2d2476e6355bd4d4 | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Wed May 05 17:47:02 2021 -0700 |
committer | Tianjie <xunchang@google.com> | Tue Jul 20 15:29:37 2021 -0700 |
tree | 7b36d163d2e7a421c15cd92f00a4bff014ae1dce | |
parent | 1f5ba0b268614e0c209fae170a7d40d953d739f7 [diff] |
Add a system API UpdateEngine to switch the slot back and forth In some cases, the OTA update want to flip the slot to source without cancelling the entire update. The functionality was achieved by ResetStatus(). However ResetStatus() will clean up the update progress and free up space to support virtual A/B. Details in http://go/no-virtual-ab-switch-off Test: build Bug: 187321613 Change-Id: I2abcf8289f5fd573d2b55fa7004ab4dcd175252f