Closed mannodermaus closed 7 years ago
Thanks, unfortunately I don't consider it a low-maintenance effort to support a project on these ancient versions, whether the code will run on them or not. I've drawn the line at 16.
Ok, fair enough. Thanks for the review!
The only occurence of an API available only from Android 4.1 onward in this project comes from the reference of
android.util.LongSparseArray
insideNotificationHelper
. Since you're pulling in & using support-v4 anyway, it is a very low-maintenance effort to reduce the minSdk requirement down to API 11 by usingandroid.support.v4.util.LongSparseArray
.Also, I disabled the lint check which trips over Okio's reference to Java NIO.
(I haven't checked if it could go down even lower than that, but I guess we need to draw the line somewhere.)