Drop support for Android 5.x

It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
This commit is contained in:
arkon
2021-03-30 23:15:17 -04:00
parent 1657f04d55
commit 443024cebb
15 changed files with 37 additions and 91 deletions

View File

@@ -54,7 +54,6 @@ abstract class WebViewClientCompat : WebViewClient() {
return shouldInterceptRequestCompat(view, url)
}
@TargetApi(Build.VERSION_CODES.M)
final override fun onReceivedError(
view: WebView,
request: WebResourceRequest,
@@ -78,7 +77,6 @@ abstract class WebViewClientCompat : WebViewClient() {
onReceivedErrorCompat(view, errorCode, description, failingUrl, failingUrl == view.url)
}
@TargetApi(Build.VERSION_CODES.M)
final override fun onReceivedHttpError(
view: WebView,
request: WebResourceRequest,