Example usage for android.telecom TelecomManager cancelMissedCallsNotification

List of usage examples for android.telecom TelecomManager cancelMissedCallsNotification

Introduction

In this page you can find the example usage for android.telecom TelecomManager cancelMissedCallsNotification.

Prototype

@RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
public void cancelMissedCallsNotification() 

Source Link

Document

Removes the missed-call notification if one is present.

Usage

From source file:Main.java

/** Removes the missed call notifications. */
public static void removeMissedCallNotifications(Context context) {
    TelecomManager telecomManager = (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE);
    telecomManager.cancelMissedCallsNotification();
}