From 52c569f58bd1f3f655778c7e231a556005b9d0d3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 21 Nov 2018 18:53:54 +0100 Subject: [PATCH] update the current pending intent at pressing the notification --- .../contacts/pro/services/DialerCallService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/DialerCallService.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/DialerCallService.kt index 066aa75b..fcd7ef0d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/DialerCallService.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/DialerCallService.kt @@ -76,7 +76,7 @@ class DialerCallService : Service() { putExtra(CALL_STATUS, callStatus) putExtra(IS_INCOMING_CALL, isIncomingCall) } - return PendingIntent.getActivity(this, 0, intent, 0) + return PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT) } private fun getCallStatusString(): String {