Recovery passthrough HALs should be wrapped in BsFoo. am: ee65dc4c50 am: 39e425c4d2
am: 312147ac43
Change-Id: I9dfaec4cf6d9232dfd0b660a9f2024771be83a1c
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) {