diff options
author | 2018-01-25 22:21:09 +0000 | |
---|---|---|
committer | 2018-01-25 22:21:09 +0000 | |
commit | 38de280b59e219328a8af0140b64779119917b0c (patch) | |
tree | 68b0eebcce267b2328c6c762b40d7c6339958e66 | |
parent | 4dfd5da62dc19df9a5a2dff41c19ea5153c703f9 (diff) | |
parent | 3cbc5893c64aa3b79acb4841cfab84fe95eef82e (diff) |
Merge "lshal --init-vintf: do not put empty <sepolicy> tag"
am: 3cbc5893c6
Change-Id: I12f3d94c13a2040e94c219b9a38fa651a4b980c9
-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) { |