参考
GitHub のコード的には こちら
@OnLifecycleEvent(Lifecycle.Event.ON_RESUME) fun onResume() { logD("onResume()") val notification = notificationPostman.findNotification(context, NotificationId.CALL.id) if (notification != null) { logI("Found call notification. Send fullScreenIntent.") try { notificationPostman.delete(context, NotificationId.CALL.id) notification.fullScreenIntent.send() } catch (e : PendingIntent.CanceledException) { e.printStackTrace() } } }