Recovery passthrough HALs should be wrapped in BsFoo.
Test: recovery HAL
Change-Id: I447f8dce5c560ab03015dcae1417ed62e06a466a
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index f9db823..0bee665 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -689,10 +689,7 @@
sp<IServiceManager1_1> sm;
Transport transport = Transport::EMPTY;
if (kIsRecovery) {
- // TODO(b/80132328): Should check manifest in recovery as well.
transport = Transport::PASSTHROUGH;
- // No hwbinder HALs in recovery.
- getStub = true;
} else {
sm = defaultServiceManager1_1();
if (sm == nullptr) {