There was an error while loading. Please reload this page.
2 parents ce8bdbd + 0ffc43e commit ff4a17aCopy full SHA for ff4a17a
1 file changed
cmds/servicemanager/ServiceManager.cpp
@@ -50,7 +50,7 @@ static bool isVintfDeclared(const std::string& name) {
50
vintf::VintfObject::GetDeviceHalManifest(),
51
vintf::VintfObject::GetFrameworkHalManifest()
52
}) {
53
- if (manifest->hasAidlInstance(package, iface, instance)) {
+ if (manifest != nullptr && manifest->hasAidlInstance(package, iface, instance)) {
54
return true;
55
}
56
0 commit comments