Bumped min SDK to Android 9.0

This commit is contained in:
Sylvain Berfini 2023-08-30 13:16:29 +02:00
parent abd5b865e1
commit 8342259054
3 changed files with 4 additions and 2 deletions

View file

@ -34,7 +34,7 @@ android {
defaultConfig {
applicationId packageName
minSdk 27
minSdk 28
targetSdk 34
versionCode 60000
versionName "6.0.0"

View file

@ -200,6 +200,7 @@ class NotificationsManager @MainThread constructor(private val context: Context)
val service = coreService
if (service != null) {
Log.i("$TAG Service found, starting it as foreground using notification")
// TODO FIXME: API LEVEL, add compatibility
try {
service.startForeground(
notifiable.notificationId,

View file

@ -29,6 +29,7 @@ import android.graphics.PorterDuffXfermode
import android.graphics.Rect
import android.net.Uri
import androidx.annotation.AnyThread
import androidx.annotation.WorkerThread
import java.io.FileNotFoundException
import org.linphone.core.tools.Log
@ -36,7 +37,7 @@ class ImageUtils {
companion object {
private const val TAG = "[Image Utils]"
@AnyThread
@WorkerThread
fun getRoundBitmapFromUri(
context: Context,
fromPictureUri: Uri?