Enable flag overlay_dynamic_parititions only
Bug: 401140635
Flag: overlay_dynamic_partitions_only
Test: system/core/fs_mgr/tests/adb-remount-test.sh
Change-Id: I83ca5092c257d1364290ef0ef1bd196c2ac00d9f
diff --git a/fs_mgr/fs_mgr_overlayfs_mount.cpp b/fs_mgr/fs_mgr_overlayfs_mount.cpp
index bd914f2..762e70d 100644
--- a/fs_mgr/fs_mgr_overlayfs_mount.cpp
+++ b/fs_mgr/fs_mgr_overlayfs_mount.cpp
@@ -51,7 +51,7 @@
// Flag to simplify algorithm for choosing which partitions to overlay to simply overlay
// all dynamic partitions
-constexpr bool overlay_dynamic_partitions_only = false;
+constexpr bool overlay_dynamic_partitions_only = true;
using namespace std::literals;
using namespace android::fs_mgr;