forked from upstream-mirrors/quik
Add FLAG_ACTIVITY_NEW_TASK when blocking number in CC
This commit is contained in:
@@ -61,7 +61,8 @@ class CallControlBlockingClient @Inject constructor(
|
||||
|
||||
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) })
|
||||
CallControl.report(context, arrayListOf<CallControl.Report>().apply { addAll(reports) },
|
||||
Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
}
|
||||
|
||||
override fun unblock(addresses: List<String>): Completable = Completable.fromCallable {
|
||||
|
||||
Reference in New Issue
Block a user