diff options
| author | 2023-03-02 01:05:09 +0000 | |
|---|---|---|
| committer | 2023-03-02 01:05:09 +0000 | |
| commit | ed96b9efe4edb8cbbe33bf5fdd2051e2748ce119 (patch) | |
| tree | 57f0873f461947a19cf25ba0059e4681bcad468b /telecomm/java | |
| parent | add110fee074bbaad28fbf800a40f389f69eda25 (diff) | |
| parent | 63c581a3f6dd02f6bd940e88401e6078a91d601d (diff) | |
Merge "Deprecate EXTRA_CLEAR_MISSED_CALLS_INTENT." am: f2c0657709 am: 29bd3c4353 am: 63c581a3f6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2461894
Change-Id: Ic9dee4963521718c1db3d23a9f3e9bf69459dca6
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 9170117f39e0..e39af5aa3327 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -895,9 +895,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"; @@ -2262,9 +2266,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) |