Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11caad9d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libsnapshot: Use SnapshotManager to delete devices." into android12L-tests-dev

parents cf62ede0 c786b6d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -289,7 +289,7 @@ class SnapshotTest : public ::testing::Test {
    }
    }


    AssertionResult DeleteDevice(const std::string& device) {
    AssertionResult DeleteDevice(const std::string& device) {
        if (!dm_.DeleteDeviceIfExists(device)) {
        if (!sm->DeleteDeviceIfExists(device, 1s)) {
            return AssertionFailure() << "Can't delete " << device;
            return AssertionFailure() << "Can't delete " << device;
        }
        }
        return AssertionSuccess();
        return AssertionSuccess();