mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-02-05 21:21:52 -05: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user