@@ -156,7 +156,7 @@ def __init__(self, path=None):
156156
157157 # pylint: disable=too-many-branches
158158 def parse (self , apk_path ):
159- output = self ._run ([self .aapt , 'dump' , 'badging' , apk_path ])
159+ output = self ._run ([self ._aapt , 'dump' , 'badging' , apk_path ])
160160 for line in output .split ('\n ' ):
161161 if line .startswith ('application-label:' ):
162162 self .label = line .split (':' )[1 ].strip ().replace ('\' ' , '' )
@@ -196,7 +196,7 @@ def parse(self, apk_path):
196196 @property
197197 def activities (self ):
198198 if self ._activities is None :
199- cmd = [self .aapt , 'dump' , 'xmltree' , self ._apk_path ]
199+ cmd = [self ._aapt , 'dump' , 'xmltree' , self ._apk_path ]
200200 if self ._aapt_version == 2 :
201201 cmd += ['--file' ]
202202 cmd += ['AndroidManifest.xml' ]
@@ -215,7 +215,7 @@ def methods(self):
215215 extracted = z .extract ('classes.dex' , tmp_dir )
216216 except KeyError :
217217 return []
218- dexdump = os .path .join (os .path .dirname (self .aapt ), 'dexdump' )
218+ dexdump = os .path .join (os .path .dirname (self ._aapt ), 'dexdump' )
219219 command = [dexdump , '-l' , 'xml' , extracted ]
220220 dump = self ._run (command )
221221
0 commit comments