Change getTransportFromManifest to getTransport.
Test: NFC / light / audio works with and without
persistent.hal.binderization.
Bug: 34810039: VINTF: specify version in getTransport
Bug: 34772739: getTransport checks a static map for android.hidl.*
packages
Bug: 34772726: VINTF needs to be able to specify things at
interface-level granularity
Change-Id: I0c7b31f177f243c85c0c99dc46f32cbbb0586180
diff --git a/transport/LegacySupport.cpp b/transport/LegacySupport.cpp
index bf91777..44e6df1 100644
--- a/transport/LegacySupport.cpp
+++ b/transport/LegacySupport.cpp
@@ -55,7 +55,7 @@
std::string package = interface.substr(0, loc);
// only block if this is supposed to be toggled
- if (getTransportFromManifest(package) != vintf::Transport::TOGGLED) {
+ if (getTransport(interface) != vintf::Transport::TOGGLED) {
return;
}