summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2021-09-12 12:31:33 +0000
committerAkilesh Kailash <akailash@google.com>2021-09-17 18:16:20 +0000
commitab12b4e8ff3d6cff4ff5aed14f07b64a35c654a1 (patch)
tree41f5c9516c4e1a3234bd302bf555b8bcf6f64529 /libpackagelistparser/packagelistparser_test.cpp
parentf7185915be50baa489ec627d0c3571d546866e17 (diff)
libsnapshot: Error handling after QuerySnapshotStatus
QuerySnapshotStatus will capture the error codes from dm-snapshot if there are any snapshot related failure. Handle the error codes and fail the QuerySnapshotStatus call. Validate snapshot status in MapSnapshot(). If the mode is set to Persistent and snapshot status is in Merging state, then forcefully set the mode to Merge state. Bug: 198265278 Test: Full/incremental OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: I779184f1998b23edacd6e780acf2676442004340 Merged-In: I779184f1998b23edacd6e780acf2676442004340
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions