Remove the method supportNotificationChannels() from SystemUtils, it has been copied in NotificationChannels.kt

This commit is contained in:
Benoit Marty 2024-06-26 10:43:46 +02:00 committed by Benoit Marty
parent 0e3821c9b2
commit 78c4f87776

View file

@ -26,16 +26,12 @@ import android.os.Build
import android.provider.Settings
import android.widget.Toast
import androidx.activity.result.ActivityResultLauncher
import androidx.annotation.ChecksSdkIntAtLeast
import androidx.annotation.RequiresApi
import androidx.core.content.pm.PackageInfoCompat
import io.element.android.libraries.androidutils.R
import io.element.android.libraries.androidutils.compat.getApplicationInfoCompat
import io.element.android.libraries.core.mimetype.MimeTypes
@ChecksSdkIntAtLeast(api = Build.VERSION_CODES.O)
fun supportNotificationChannels() = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
/**
* Return the application label of the provided package. If not found, the package is returned.
*/