From ac90d1da7efb1264ab469f4ebb394c8772c2bcd1 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Fri, 15 Mar 2019 12:21:57 -0700 Subject: [PATCH] Really fix support for soname in apk. Bug: 29218999 Test: Run a stack through vendor/google/tools/stack --auto with this change. Change-Id: I0d650f30d37bb0dfa9db011d7624c0c74a98f2df --- scripts/stack_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/stack_core.py b/scripts/stack_core.py index ed4561821..452d83bb0 100755 --- a/scripts/stack_core.py +++ b/scripts/stack_core.py @@ -377,7 +377,7 @@ class TraceConverter: index = area.rfind(".apk!") if index != -1: apk = area[0:index + 4] - if not apk: + if apk: lib_name, lib = self.GetLibFromApk(apk, so_offset) if not lib: lib = area