diff options
| author | 2023-03-02 00:10:33 +0000 | |
|---|---|---|
| committer | 2023-03-02 00:10:33 +0000 | |
| commit | 63c581a3f6dd02f6bd940e88401e6078a91d601d (patch) | |
| tree | 112704093d152232d6e9039f201276a203b256b0 /telecomm/java | |
| parent | 683bcf75558b66321166306e1c823d1be534f8b0 (diff) | |
| parent | 29bd3c4353854a3e02318f05d0e37c5d33227010 (diff) | |
Merge "Deprecate EXTRA_CLEAR_MISSED_CALLS_INTENT." am: f2c0657709 am: 29bd3c4353
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2461894
Change-Id: Id977f5847a3d21f5ad40a32e962d8c4ad6d6a30e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'telecomm/java')
| -rw-r--r-- | telecomm/java/android/telecom/TelecomManager.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index 3d4bcef66e46..e3f7c1688a49 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -890,9 +890,13 @@ public class TelecomManager { "android.telecom.extra.NOTIFICATION_PHONE_NUMBER"; /** - * The intent to clear missed calls. + * Included in the extras of the {@link #ACTION_SHOW_MISSED_CALLS_NOTIFICATION}, provides a + * pending intent which can be used to clear the missed calls notification and mark unread + * missed call log entries as read. * @hide + * @deprecated Use {@link #cancelMissedCallsNotification()} instead. */ + @Deprecated @SystemApi public static final String EXTRA_CLEAR_MISSED_CALLS_INTENT = "android.telecom.extra.CLEAR_MISSED_CALLS_INTENT"; @@ -2230,9 +2234,10 @@ public class TelecomManager { } /** - * Removes the missed-call notification if one is present. + * Removes the missed-call notification if one is present and marks missed calls in the call + * log as read. * <p> - * Requires that the method-caller be set as the system dialer app. + * Requires that the method-caller be set as the default dialer app. * </p> */ @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) |