Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ abstract class LocalConnection<S : Service>(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<S>
onBound(binder)
}
Expand Down
Loading