update: 更新文件 hibernate.cpp

Signed-off-by: tang-zebiao <tangzebiao@h-partners.com>
This commit is contained in:
tang-zebiao
2026-07-10 16:38:25 +08:00
parent 245472a303
commit e596fd44cc
@@ -121,7 +121,7 @@ bool GetSupportSpaceOptConfig()
HDF_LOGE("GetRootNode failed.");
return supportSpaceOpt;
}
const struct DeviceResourceNode *pChildNode = iface->GetChildNode(pRootNode, "power_driver_config");
const struct DeviceResourceNode *pChildNode = iface->GetChildNode(pRootNode, "dynamic_swapfile");
if (pChildNode != nullptr) {
supportSpaceOpt = !(iface->GetBool(pChildNode, "s4_skip_space_optimization"));
}