Make missed call action public
This CL makes the missed call notification action public. This will be used by the dialer app to show it's own missed call UI. See ag/850080 for more info. BUG: 22857261 Change-Id: Ifae82d3036a278e5619edc8c766a1d0781296e72
This commit is contained in:
@@ -387,27 +387,23 @@ public class TelecomManager {
|
||||
|
||||
/**
|
||||
* Broadcast intent action for letting custom component know to show the missed call
|
||||
* notification.
|
||||
* @hide
|
||||
* notification. If no custom component exists then this is sent to the default dialer which
|
||||
* should post a missed-call notification.
|
||||
*/
|
||||
@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
|
||||
* The number of calls associated with the notification. If the number is zero then the missed
|
||||
* call notification should be dismissed.
|
||||
*/
|
||||
@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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user