diff options
| author | 2018-01-25 21:08:04 +0000 | |
|---|---|---|
| committer | 2018-01-25 21:08:04 +0000 | |
| commit | 3cbc5893c64aa3b79acb4841cfab84fe95eef82e (patch) | |
| tree | 68b0eebcce267b2328c6c762b40d7c6339958e66 | |
| parent | ced274e88d1232fd9f886a2a191ae4cf88481b03 (diff) | |
| parent | acc12128e1c237f5c44b711edb5660da9ff21c21 (diff) | |
Merge "lshal --init-vintf: do not put empty <sepolicy> tag"
| -rw-r--r-- | cmds/lshal/ListCommand.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmds/lshal/ListCommand.cpp b/cmds/lshal/ListCommand.cpp index e4b3c90480..fab13a0617 100644 --- a/cmds/lshal/ListCommand.cpp +++ b/cmds/lshal/ListCommand.cpp @@ -265,9 +265,6 @@ void ListCommand::dumpVintf(const NullableOStream<std::ostream>& out) const { << " <interface> 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<std::ostream>& 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) { |