remove old API support after bumping minSdkVersion to 22
android-18 was a big update because it added all of the modern crypto algorithms. SHA-1 is the best that is usable before that, and SHA-1 is long deprecated and broken. It was released July 24, 2013, so a long time ago. Before making the switch, we should make sure that the current fdroidclient is working well on Android older than android-18.
By switching to android-16, we can:
- ditch jmdns and use the built-in
NsdManager
By switching to android-18, we can:
- use SHA-256 in the APK signatures
- purge lots of special cases in the code to support older than android-18.
Here is the count of Build.VERSION.SDK_INT
tests in the code:
- android-15: 2
- android-16: 10
- android-17: 2
- android-18: 8
see #1379 (closed) for the previous incarnation of this issue.