Loading cmds/servicemanager/ServiceManager.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -50,7 +50,7 @@ static bool isVintfDeclared(const std::string& name) { vintf::VintfObject::GetDeviceHalManifest(), vintf::VintfObject::GetDeviceHalManifest(), vintf::VintfObject::GetFrameworkHalManifest() vintf::VintfObject::GetFrameworkHalManifest() }) { }) { if (manifest->hasAidlInstance(package, iface, instance)) { if (manifest != nullptr && manifest->hasAidlInstance(package, iface, instance)) { return true; return true; } } } } Loading Loading
cmds/servicemanager/ServiceManager.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -50,7 +50,7 @@ static bool isVintfDeclared(const std::string& name) { vintf::VintfObject::GetDeviceHalManifest(), vintf::VintfObject::GetDeviceHalManifest(), vintf::VintfObject::GetFrameworkHalManifest() vintf::VintfObject::GetFrameworkHalManifest() }) { }) { if (manifest->hasAidlInstance(package, iface, instance)) { if (manifest != nullptr && manifest->hasAidlInstance(package, iface, instance)) { return true; return true; } } } } Loading