forked from upstream-mirrors/quik
Don't use system blocking provider, since it won't let messages reach QKSMS anyway
This commit is contained in:
@@ -13,7 +13,7 @@ import javax.inject.Singleton
|
||||
class BlockingManager @Inject constructor(
|
||||
private val prefs: Preferences,
|
||||
private val callControlBlockingClient: CallControlBlockingClient,
|
||||
private val androidBlockingClient: AndroidBlockingClient,
|
||||
private val qksmsBlockingClient: QksmsBlockingClient,
|
||||
private val shouldIAnswerBlockingClient: ShouldIAnswerBlockingClient
|
||||
) : BlockingClient {
|
||||
|
||||
@@ -21,7 +21,7 @@ class BlockingManager @Inject constructor(
|
||||
get() = when (prefs.blockingManager.get()) {
|
||||
Preferences.BLOCKING_MANAGER_SIA -> shouldIAnswerBlockingClient
|
||||
Preferences.BLOCKING_MANAGER_CC -> callControlBlockingClient
|
||||
else -> androidBlockingClient
|
||||
else -> qksmsBlockingClient
|
||||
}
|
||||
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user