remove useless variable

This commit is contained in:
Mysochenko Yuriy
2022-05-05 10:31:54 +03:00
parent 5d3159ab34
commit c7cb596835

View File

@@ -29,8 +29,7 @@ class CallService : InCallService() {
override fun onCallAdded(call: Call) { override fun onCallAdded(call: Call) {
super.onCallAdded(call) super.onCallAdded(call)
val isInteractive = powerManager.isInteractive if (!powerManager.isInteractive) {
if (!isInteractive) {
startActivity(CallActivity.getStartIntent(this)) startActivity(CallActivity.getStartIntent(this))
} }
CallManager.call = call CallManager.call = call