mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Bumped min SDK to Android 9.0
This commit is contained in:
parent
abd5b865e1
commit
8342259054
3 changed files with 4 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId packageName
|
||||
minSdk 27
|
||||
minSdk 28
|
||||
targetSdk 34
|
||||
versionCode 60000
|
||||
versionName "6.0.0"
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue