summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2015-08-10 14:27:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-08-10 14:27:59 +0000
commit0c4999c27948ab8a49440abcd60a25fa50ba60a9 (patch)
treea9df684ea705a729a3b1892079d74f98eb0d0a63 /telecomm
parentac1129905d24fae4f2a5b89e4a91fbac43cde76b (diff)
parent5e4dd3e199567efc35aa14219a117020aa67a342 (diff)
downloadframeworks_base-0c4999c27948ab8a49440abcd60a25fa50ba60a9.zip
frameworks_base-0c4999c27948ab8a49440abcd60a25fa50ba60a9.tar.gz
frameworks_base-0c4999c27948ab8a49440abcd60a25fa50ba60a9.tar.bz2
Merge "Add action for notifying custom components of missed calls." into cw-e-dev
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.
*/