Add tests to RuntimeInfo fetch flags.
Test: libvintf_test
Test: vintf_object_test
Bug: 66960848
Change-Id: I7736760a2cfbd7aa4ebdc030ccf0ae9b2024bccb
diff --git a/VintfObject.cpp b/VintfObject.cpp
index e87dd05..698bf30 100644
--- a/VintfObject.cpp
+++ b/VintfObject.cpp
@@ -98,7 +98,7 @@
}
if (gDeviceRuntimeInfo.object == nullptr) {
- gDeviceRuntimeInfo.object = std::make_shared<RuntimeInfo>();
+ gDeviceRuntimeInfo.object = details::gRuntimeInfoFactory->make_shared();
}
status_t status = gDeviceRuntimeInfo.object->fetchAllInformation(flags);