From 9f0f4f848e8e688551eacb20f6a6a5039557a19e Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 9 Feb 2026 08:57:25 -0500 Subject: [PATCH] chore(core): suppress unchecked cast warning in LocalConnection Signed-off-by: Josh --- app/src/main/java/com/nextcloud/client/core/LocalConnection.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt b/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt index 5e67d2418b73..1d58f3c9dd84 100644 --- a/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt +++ b/app/src/main/java/com/nextcloud/client/core/LocalConnection.kt @@ -78,6 +78,7 @@ abstract class LocalConnection(protected val context: Context) : Se if (binder !is LocalBinder<*>) { throw IllegalStateException("Binder is not extending ${LocalBinder::class.java.name}") } + @Suppress("UNCHECKED_CAST") // Safe: type S guaranteed by service binding contract serviceBinder = binder as LocalBinder onBound(binder) }