summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2015-08-03 16:59:10 -0700
committerBryce Lee <brycelee@google.com>2015-08-03 16:59:10 -0700
commit5e4dd3e199567efc35aa14219a117020aa67a342 (patch)
tree2692d143e5531d03a8d203e69163b7f6f420de16 /telecomm
parent9d3ae0416745fa4644e9e5951c96fec3a6208926 (diff)
downloadframeworks_base-5e4dd3e199567efc35aa14219a117020aa67a342.zip
frameworks_base-5e4dd3e199567efc35aa14219a117020aa67a342.tar.gz
frameworks_base-5e4dd3e199567efc35aa14219a117020aa67a342.tar.bz2
Add action for notifying custom components of missed calls.
Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecom/TelecomManager.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java
index 067e734..232bf0f 100644
--- a/telecomm/java/android/telecom/TelecomManager.java
+++ b/telecomm/java/android/telecom/TelecomManager.java
@@ -367,6 +367,32 @@ public class TelecomManager {
"android.telecom.intent.extra.TTY_PREFERRED";
/**
+ * Broadcast intent action for letting custom component know to show the missed call
+ * notification.
+ * @hide
+ */
+ @SystemApi
+ public static final String ACTION_SHOW_MISSED_CALLS_NOTIFICATION =
+ "android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION";
+
+ /**
+ * The number of calls associated with the notification.
+ * @hide
+ */
+ @SystemApi
+ public static final String EXTRA_NOTIFICATION_COUNT =
+ "android.telecom.extra.NOTIFICATION_COUNT";
+
+ /**
+ * The number associated with the missed calls. This number is only relevant
+ * when EXTRA_NOTIFICATION_COUNT is 1.
+ * @hide
+ */
+ @SystemApi
+ public static final String EXTRA_NOTIFICATION_PHONE_NUMBER =
+ "android.telecom.extra.NOTIFICATION_PHONE_NUMBER";
+
+ /**
* The following 4 constants define how properties such as phone numbers and names are
* displayed to the user.
*/