When markBoolSuccessful is invoked, we update
the partition table. These writes should be
synced before merge operation is resumed post OTA.
If not, any crash before these writes are landed to
backing storage will lead to incorrect switching of
slots.
BUG: 175711601
Test: Verify slot switching correctly after crash when merge in progress
Change-Id: I2da9286490d5d063df0c9d4dc491e0fbf28f51bb
Signed-off-by: Akilesh Kailash <akailash@google.com>
Signed-off-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
* Update PTN_SWAP_LIST to reflect partition entry changes
to BOOT LUN and handle "multiimgoem", "multiimgqti"
partitions, similar to other BOOT LUN partitions.
[Also contains partitions information update from sm8350]
Signed-off-by: 7Soldier <reg.fm4@gmail.com>