From acc12128e1c237f5c44b711edb5660da9ff21c21 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Thu, 25 Jan 2018 10:49:39 -0800 Subject: lshal --init-vintf: do not put empty tag Test: lshal --init-vintf Change-Id: Id742ddbd9e79abe7cfaea5d89d184a8e36943e66 --- cmds/lshal/ListCommand.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmds/lshal/ListCommand.cpp b/cmds/lshal/ListCommand.cpp index 73996925b1..3acdd90219 100644 --- a/cmds/lshal/ListCommand.cpp +++ b/cmds/lshal/ListCommand.cpp @@ -265,9 +265,6 @@ void ListCommand::dumpVintf(const NullableOStream& out) const { << " declared; users will have to write them by hand." << std::endl << " 4. A HAL with lower minor version can be overridden by a HAL with" << std::endl << " higher minor version if they have the same name and major version." << std::endl - << " 5. sepolicy version is set to 0.0. It is recommended that the entry" << std::endl - << " is removed from the manifest file and written by assemble_vintf" << std::endl - << " at build time." << std::endl << "-->" << std::endl; vintf::HalManifest manifest; @@ -364,7 +361,7 @@ void ListCommand::dumpVintf(const NullableOStream& out) const { } } }); - out << vintf::gHalManifestConverter(manifest); + out << vintf::gHalManifestConverter(manifest, vintf::SerializeFlag::HALS_ONLY); } static Architecture fromBaseArchitecture(::android::hidl::base::V1_0::DebugInfo::Architecture a) { -- cgit v1.2.3-59-g8ed1b