mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
update: pass resourceIds through if they can't be deferenced
People do odd tricks with `aapt --rename-manifest-package` and androguard doesn't handle them all. * https://github.com/androguard/androguard/issues/503
This commit is contained in:
parent
0e0a5019ab
commit
4352aa2792
@ -2009,7 +2009,7 @@ def ensure_final_value(packageName, arsc, value):
|
||||
res_id = int('0x' + value[1:], 16)
|
||||
res_id = arsc.get_id(packageName, res_id)[1]
|
||||
returnValue = arsc.get_string(packageName, res_id)[1]
|
||||
except ValueError:
|
||||
except (ValueError, TypeError):
|
||||
pass
|
||||
return returnValue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user