Ignore temporary error.
This commit is contained in:
parent
44bc6f5ef5
commit
31e0120f46
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
package io.element.android.features.login.impl.oidc.webview
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.annotation.TargetApi
|
||||
import android.os.Build
|
||||
import android.webkit.WebResourceRequest
|
||||
|
|
@ -24,6 +25,8 @@ import android.webkit.WebViewClient
|
|||
import timber.log.Timber
|
||||
|
||||
class OidcWebViewClient(private val eventListener: WebViewEventListener) : WebViewClient() {
|
||||
// We will revert to API 23, in the mean time ignore the warning here.
|
||||
@SuppressLint("ObsoleteSdkInt")
|
||||
@TargetApi(Build.VERSION_CODES.N)
|
||||
override fun shouldOverrideUrlLoading(view: WebView, request: WebResourceRequest): Boolean {
|
||||
return shouldOverrideUrl(request.url.toString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue