summaryrefslogtreecommitdiff
path: root/tools/veridex/hidden_api_finder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/veridex/hidden_api_finder.cc')
-rw-r--r--tools/veridex/hidden_api_finder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/veridex/hidden_api_finder.cc b/tools/veridex/hidden_api_finder.cc
index 9455b0f10b..f0c520f3ee 100644
--- a/tools/veridex/hidden_api_finder.cc
+++ b/tools/veridex/hidden_api_finder.cc
@@ -59,7 +59,7 @@ void HiddenApiFinder::CollectAccesses(VeridexResolver* resolver,
// Note: we collect strings constants only referenced in code items as the string table
// contains other kind of strings (eg types).
for (ClassAccessor accessor : dex_file.GetClasses()) {
- if (class_filter.Matches(accessor.GetDescriptor())) {
+ if (class_filter.Matches(accessor.GetDescriptorView())) {
for (const ClassAccessor::Method& method : accessor.GetMethods()) {
CodeItemInstructionAccessor codes = method.GetInstructions();
const uint32_t max_pc = codes.InsnsSizeInCodeUnits();