Commit 7ae70fa
extract_utils: Consider path prefixes other than
Currently we only decode source code if there are any changed
files in the patch whose path starts with 'smali/', but in the
case of multi dex APKs, apktool will instead give multiple smali
directories in the form 'smali_<name of dex file>'.
Knowing that, a better way to check if the source needs decoding
is to see if any path starts with 'smali', which should deal with
most edge cases.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I3927fe5bd4aae00dbbd3b1895fb15ca67e33afbesmali/
1 parent 1186463 commit 7ae70fa
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments