Show popup to block conversation for call control

This commit is contained in:
moezbhatti
2019-08-03 01:21:27 +02:00
parent f013cae7b2
commit cb0af93594
@@ -57,8 +57,6 @@ class CallControlBlockingClient @Inject constructor(
}
}
override fun canBlock(): Boolean = true
override fun block(addresses: List<String>): Completable = Completable.fromCallable {
val reports = addresses.map { CallControl.Report(it) }
CallControl.report(context, arrayListOf<CallControl.Report>().apply { addAll(reports) },