mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-09-28 23:56:39 -04: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:
1 parent
0e0a5019ab
commit
4352aa2792
1 file changed
+1
-1
@@ -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