Merge pull request #523 from vector-im/renovate/telephoto

Update dependency me.saket.telephoto:zoomable-image-coil to v0.4.0
This commit is contained in:
Benoit Marty 2023-06-05 13:50:40 +02:00 committed by GitHub
commit 2ef46b1250
4 changed files with 2 additions and 8 deletions

View file

@ -16,7 +16,6 @@
package io.element.android.features.login.impl.oidc.webview package io.element.android.features.login.impl.oidc.webview
import android.annotation.SuppressLint
import android.annotation.TargetApi import android.annotation.TargetApi
import android.os.Build import android.os.Build
import android.webkit.WebResourceRequest import android.webkit.WebResourceRequest
@ -26,8 +25,6 @@ import android.webkit.WebViewClient
class OidcWebViewClient( class OidcWebViewClient(
private val eventListener: WebViewEventListener, private val eventListener: WebViewEventListener,
) : WebViewClient() { ) : WebViewClient() {
// We will revert to API 23, in the mean time ignore the warning here.
@SuppressLint("ObsoleteSdkInt")
@TargetApi(Build.VERSION_CODES.N) @TargetApi(Build.VERSION_CODES.N)
override fun shouldOverrideUrlLoading(view: WebView, request: WebResourceRequest): Boolean { override fun shouldOverrideUrlLoading(view: WebView, request: WebResourceRequest): Boolean {
return shouldOverrideUrl(request.url.toString()) return shouldOverrideUrl(request.url.toString())

View file

@ -43,7 +43,7 @@ appyx = "1.2.0"
dependencycheck = "8.2.1" dependencycheck = "8.2.1"
stem = "2.3.0" stem = "2.3.0"
sqldelight = "1.5.5" sqldelight = "1.5.5"
telephoto = "0.3.0" telephoto = "0.4.0"
# DI # DI
dagger = "2.46.1" dagger = "2.46.1"

View file

@ -16,7 +16,6 @@
package io.element.android.libraries.push.impl.notifications.factories.action package io.element.android.libraries.push.impl.notifications.factories.action
import android.annotation.SuppressLint
import android.app.PendingIntent import android.app.PendingIntent
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
@ -71,8 +70,6 @@ class QuickReplyActionFactory @Inject constructor(
* However, for Android devices running Marshmallow and below (API level 23 and below), * However, for Android devices running Marshmallow and below (API level 23 and below),
* it will be more appropriate to use an activity. Since you have to provide your own UI. * it will be more appropriate to use an activity. Since you have to provide your own UI.
*/ */
//TODO remove when minSdk will be back to 23
@SuppressLint("ObsoleteSdkInt")
private fun buildQuickReplyIntent( private fun buildQuickReplyIntent(
sessionId: SessionId, sessionId: SessionId,
roomId: RoomId, roomId: RoomId,

View file

@ -23,7 +23,7 @@ object Versions {
const val compileSdk = 33 const val compileSdk = 33
const val targetSdk = 33 const val targetSdk = 33
const val minSdk = 24 const val minSdk = 23
val javaCompileVersion = JavaVersion.VERSION_17 val javaCompileVersion = JavaVersion.VERSION_17
val javaLanguageVersion: JavaLanguageVersion = JavaLanguageVersion.of(11) val javaLanguageVersion: JavaLanguageVersion = JavaLanguageVersion.of(11)
} }