Add action for notifying custom components of missed calls.
Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
This commit is contained in:
@@ -366,6 +366,32 @@ public class TelecomManager {
|
||||
public static final String EXTRA_TTY_PREFERRED_MODE =
|
||||
"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.
|
||||
|
||||
Reference in New Issue
Block a user