chiark / gitweb /
handle bad SDK Version values in APKs
authorHans-Christoph Steiner <hans@eds.org>
Thu, 26 Apr 2018 11:17:25 +0000 (13:17 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 26 Apr 2018 13:19:41 +0000 (15:19 +0200)
commite17815e9f066ba40fedb6db2786f861b696b7585
tree9364819ad4e99126064e3076db1fc59de9063d8f
parent4ba5b8b5ecfb64ec0dbcddeb862187be6861bea1
handle bad SDK Version values in APKs

Even though it is invalid to have *SdkVersion in AndroidManifest.xml set as
anything but an integer, sometimes people manage to get something in there.
`fdroid update` needs to be able to handle all that.

* https://developer.android.com/guide/topics/manifest/uses-sdk-element#min
* https://gitlab.com/souch/SMSbypass/blob/v0.9/app/src/main/AndroidManifest.xml#L29
* https://gitlab.com/souch/SMSbypass/blob/v0.9/app/src/main/res/values/strings.xml#L27

admin#65
fdroidserver/update.py
tests/metadata/souch.smsbypass.txt [new file with mode: 0644]
tests/repo/index-v1.json
tests/repo/index.xml
tests/repo/souch.smsbypass_9.apk [new file with mode: 0644]
tests/stats/known_apks.txt
tests/update.TestCase