From 558ecee72a292db417a33de533eb7e359ccee27f Mon Sep 17 00:00:00 2001 From: robertsmd Date: Thu, 18 Nov 2021 14:47:02 -0500 Subject: [PATCH] Fix build_interface_map() --- libredex/ClassHierarchy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libredex/ClassHierarchy.cpp b/libredex/ClassHierarchy.cpp index d413f4f8e9..27b970918f 100644 --- a/libredex/ClassHierarchy.cpp +++ b/libredex/ClassHierarchy.cpp @@ -123,7 +123,7 @@ InterfaceMap build_interface_map(const ClassHierarchy& hierarchy) { for (const auto& cls_it : hierarchy) { const auto cls = type_class(cls_it.first); if (cls == nullptr) continue; - if (is_interface(cls)) continue; + if (!is_interface(cls)) continue; TypeSet implementors; get_all_children(hierarchy, cls->get_type(), implementors); implementors.insert(cls->get_type());