summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-10-29 17:22:44 -0700
committerYifan Hong <elsk@google.com>2019-10-31 18:40:46 -0700
commit46002d5c2131afce5feb0c7be688470c1f2c1177 (patch)
tree3cd3ec171cf77cfcfd0c361006159fb4df0685d3 /trusty/coverage/coverage.cpp
parent4913d7af12cbcc58a5c992aeef76a9a545959c2c (diff)
libsnapshot: fix re-flash after update
If device takes an update from slot A to B, immediately flashes the B slot, and reboot into B slot, libsnapshot incorrectly considers the device booted into the new slot and refuses to clear update states. Fix this by checking the UPDATED flag in super partition metadata. Test: libsnapshot_test Bug: 143551390 Change-Id: I3cd7bb19b394da6399d4bf2f9d013bfaa7f186f1
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions