chiark / gitweb /
update: find PNG when recommended icon is an XML file
authorHans-Christoph Steiner <hans@eds.org>
Tue, 4 Jul 2017 15:40:02 +0000 (17:40 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 6 Jul 2017 10:25:48 +0000 (12:25 +0200)
commit10a607ede3b61503cfd213b8b625b64ca06aaa25
tree6de94f2bbd1734690a3e3529902b0fa8af9d860e
parentc14cbeb0a52b3bb9d0751702dac01f95cf9acb67
update: find PNG when recommended icon is an XML file

APKs can now use XML files for vector graphics like the app icon. `aapt`
returns the XML file by default, and perhaps also androguard.  This
checks if the icon is an XML file, and if so, it tries to find a PNG in
the APK with the same name and density to use instead

closes #322

This should also ultimately make the XML file available as an icon source
as well fdroidclient#1091
fdroidserver/update.py