diff options
Diffstat (limited to 'transport/HidlBinderSupport.cpp')
-rw-r--r-- | transport/HidlBinderSupport.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/transport/HidlBinderSupport.cpp b/transport/HidlBinderSupport.cpp index b48b460..8b36f1f 100644 --- a/transport/HidlBinderSupport.cpp +++ b/transport/HidlBinderSupport.cpp @@ -254,12 +254,8 @@ sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr if (sBnObj == nullptr) { auto func = details::getBnConstructorMap().get(descriptor, nullptr); - if (!func) { - // TODO(b/69122224): remove this static variable when prebuilts updated - func = details::gBnConstructorMap->get(descriptor, nullptr); - } - LOG_ALWAYS_FATAL_IF(func == nullptr, "%s gBnConstructorMap returned null for %s", __func__, - descriptor.c_str()); + LOG_ALWAYS_FATAL_IF(func == nullptr, "%s getBnConstructorMap returned null for %s", + __func__, descriptor.c_str()); sBnObj = sp<IBinder>(func(static_cast<void*>(ifacePtr))); LOG_ALWAYS_FATAL_IF(sBnObj == nullptr, "%s Bn constructor function returned null for %s", |