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

Commit 533b2b62 authored by David Anderson's avatar David Anderson Committed by Yifan Hong
Browse files

libsnapshot: Fix intermittent test failure due to missing null check.

Bug: 152547190
Test: vts_snapshot_test
Change-Id: If7adc4fba61325e52d6268531ce0a15b00c0a380
parent 89650f96
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2505,7 +2505,9 @@ bool SnapshotManager::HandleImminentDataWipe(const std::function<void()>& callba
    }

    UpdateState state = ProcessUpdateState([&]() -> bool {
        if (callback) {
            callback();
        }
        return true;
    });
    LOG(INFO) << "Update state in recovery: " << state;