2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 01:51:47 +00:00

Bump deps

This commit is contained in:
Albert Vaca Cintora 2025-07-02 21:01:42 +02:00
parent 04f5863f6a
commit 4f796446d6
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
[versions] [versions]
activityCompose = "1.10.1" activityCompose = "1.10.1"
androidDesugarJdkLibs = "2.1.5" androidDesugarJdkLibs = "2.1.5"
androidGradlePlugin = "8.10.1" androidGradlePlugin = "8.11.0"
androidSmsmms = "kdeconnect-1-21-0" androidSmsmms = "kdeconnect-1-21-0"
appcompat = "1.7.0" appcompat = "1.7.1"
bcpkixJdk15on = "1.70" bcpkixJdk15on = "1.70"
classindexksp = "1.2" classindexksp = "1.2"
commonsCollections4 = "4.5.0" commonsCollections4 = "4.5.0"
@ -17,11 +17,11 @@ documentfile = "1.1.0"
gridlayout = "1.1.0" gridlayout = "1.1.0"
jsonassert = "1.5.3" jsonassert = "1.5.3"
junit = "4.13.2" junit = "4.13.2"
kotlin = "2.1.21" kotlin = "2.2.0"
kspPlugin = "2.1.21-2.0.1" kspPlugin = "2.2.0-2.0.2"
kotlinxCoroutinesCore = "1.10.2" kotlinxCoroutinesCore = "1.10.2"
lifecycleExtensions = "2.2.0" lifecycleExtensions = "2.2.0"
lifecycleRuntimeKtx = "2.9.0" lifecycleRuntimeKtx = "2.9.1"
logger = "1.0.3" logger = "1.0.3"
material = "1.12.0" material = "1.12.0"
material3 = "1.3.2" material3 = "1.3.2"
@ -35,7 +35,7 @@ rxjava = "2.2.21"
sl4j = "2.0.13" sl4j = "2.0.13"
sshdCore = "2.15.0" sshdCore = "2.15.0"
swiperefreshlayout = "1.1.0" swiperefreshlayout = "1.1.0"
uiToolingPreview = "1.8.2" uiToolingPreview = "1.8.3"
univocityParsers = "2.9.1" univocityParsers = "2.9.1"
[libraries] [libraries]

View File

@ -99,7 +99,7 @@ class MprisMediaSession : OnSharedPreferenceChangeListener, NotificationReceiver
* @param device The device id * @param device The device id
*/ */
fun onCreate(context: Context?, plugin: MprisPlugin, device: String) { fun onCreate(context: Context?, plugin: MprisPlugin, device: String) {
if (mprisDevices.isEmpty) { if (mprisDevices.isEmpty()) {
val prefs = PreferenceManager.getDefaultSharedPreferences(context) val prefs = PreferenceManager.getDefaultSharedPreferences(context)
prefs.registerOnSharedPreferenceChangeListener(this) prefs.registerOnSharedPreferenceChangeListener(this)
} }
@ -137,7 +137,7 @@ class MprisMediaSession : OnSharedPreferenceChangeListener, NotificationReceiver
plugin.removePlayerListUpdatedHandler("media_notification") plugin.removePlayerListUpdatedHandler("media_notification")
updateMediaNotification() updateMediaNotification()
if (mprisDevices.isEmpty) { if (mprisDevices.isEmpty()) {
val prefs = PreferenceManager.getDefaultSharedPreferences(context) val prefs = PreferenceManager.getDefaultSharedPreferences(context)
prefs.unregisterOnSharedPreferenceChangeListener(this) prefs.unregisterOnSharedPreferenceChangeListener(this)
} }