DisabledChecks -> CheckFlags namespace
Switch from negative flags to positive flags using
the dedicated CheckFlags::Type class.
Bug: 110711640
Test: libvintf_test
Test: vintf_object_test
Change-Id: I13f741b64520bd58349dbbf6c874dd1559d79ad8
diff --git a/check_vintf.cpp b/check_vintf.cpp
index b11daf5..7e51e6c 100644
--- a/check_vintf.cpp
+++ b/check_vintf.cpp
@@ -225,7 +225,8 @@
VintfObject vintfObject(std::make_unique<HostFileSystem>(rootdir),
nullptr /* partition mounter */, nullptr /* runtime info factory */,
std::move(hostPropertyFetcher));
- return vintfObject.checkCompatibility({} /* packageInfo */, error, DISABLE_RUNTIME_INFO);
+ return vintfObject.checkCompatibility({} /* packageInfo */, error,
+ CheckFlags::DISABLE_RUNTIME_INFO);
}
} // namespace details