From b0cf1d2370ae86dce2d6a2595aae476bd32b31b1 Mon Sep 17 00:00:00 2001 From: Akilesh Kailash Date: Tue, 26 Mar 2024 18:33:58 -0700 Subject: [PATCH] libsnapshot: Propagate legacy_snapuserd status during WriteUpdateState Bug: 304829384 Test: OTA on Pixel Change-Id: I841612c111148523d13166051512314d6fa1986f Signed-off-by: Akilesh Kailash --- fs_mgr/libsnapshot/snapshot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fs_mgr/libsnapshot/snapshot.cpp b/fs_mgr/libsnapshot/snapshot.cpp index 6d344bd5e..de91bd2c6 100644 --- a/fs_mgr/libsnapshot/snapshot.cpp +++ b/fs_mgr/libsnapshot/snapshot.cpp @@ -3018,6 +3018,7 @@ bool SnapshotManager::WriteUpdateState(LockedFile* lock, UpdateState state, status.set_merge_phase(old_status.merge_phase()); status.set_userspace_snapshots(old_status.userspace_snapshots()); status.set_io_uring_enabled(old_status.io_uring_enabled()); + status.set_legacy_snapuserd(old_status.legacy_snapuserd()); } return WriteSnapshotUpdateStatus(lock, status); }