Fix enforcement for hidl-gen.
Enforcement wasn't passed through some of the enforcement
code and this caused certain types of minor version upgrades
to be impossible to be hashed.
Bug: 74724537
Test: hidl_hash_test, manual test fixes issue
Change-Id: I3fa6aa1ac9ffbd1ade6456c957c4ef8735acf91b
Merged-In: I3fa6aa1ac9ffbd1ade6456c957c4ef8735acf91b
diff --git a/Coordinator.h b/Coordinator.h
index 2f8c4d8..2dd1ca3 100644
--- a/Coordinator.h
+++ b/Coordinator.h
@@ -186,7 +186,7 @@
std::string makeAbsolute(const std::string& string) const;
// Rules of enforceRestrictionsOnPackage are listed below.
- status_t enforceMinorVersionUprevs(const FQName &fqName) const;
+ status_t enforceMinorVersionUprevs(const FQName& fqName, Enforce enforcement) const;
status_t enforceHashes(const FQName &fqName) const;
DISALLOW_COPY_AND_ASSIGN(Coordinator);