fixing the default dialer check
This commit is contained in:
parent
7331217e8a
commit
4acee7d62b
|
@ -340,4 +340,4 @@ fun Context.deleteBlockedNumber(number: String) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@TargetApi(Build.VERSION_CODES.M)
|
@TargetApi(Build.VERSION_CODES.M)
|
||||||
fun Context.isDefaultDialer() = telecomManager.defaultDialerPackage != packageName
|
fun Context.isDefaultDialer() = telecomManager.defaultDialerPackage == packageName
|
||||||
|
|
Loading…
Reference in New Issue