diff options
| author | Brad Ebinger <breadley@google.com> | 2017-01-12 13:10:40 -0800 |
|---|---|---|
| committer | Brad Ebinger <breadley@google.com> | 2017-01-12 13:10:40 -0800 |
| commit | 23b1c6d061aaafd54594a416e40887ea9dd977f4 (patch) | |
| tree | cf795010cbcc714970eed0d446654be238aac330 /telecomm/java/android/telecom/TelecomManager.java | |
| parent | 60d10ea0f4cfcb7fcd3c6b188751368c3eeed591 (diff) | |
Deprecate old TelecomManager actions
The ACTION_INCOMING_CALL and ACTION_NEW_UNKNOWN_CALL intents are
not used anymore and have been replaced with methods in
TelecomManager. This change marks them as deprecated.
Test: None
Bug: 33783690
Change-Id: I840b0ac202237cc43a0540fe64c832e119b33aa2
Diffstat (limited to 'telecomm/java/android/telecom/TelecomManager.java')
| -rw-r--r-- | telecomm/java/android/telecom/TelecomManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/TelecomManager.java b/telecomm/java/android/telecom/TelecomManager.java index f12886afa6e5..dffbafb91620 100644 --- a/telecomm/java/android/telecom/TelecomManager.java +++ b/telecomm/java/android/telecom/TelecomManager.java @@ -58,12 +58,15 @@ public class TelecomManager { * Input: get*Extra field {@link #EXTRA_PHONE_ACCOUNT_HANDLE} contains the component name of the * {@link android.telecom.ConnectionService} that Telecom should bind to. Telecom will then * ask the connection service for more information about the call prior to showing any UI. + * + * @deprecated Use {@link #addNewIncomingCall} instead. */ public static final String ACTION_INCOMING_CALL = "android.telecom.action.INCOMING_CALL"; /** * Similar to {@link #ACTION_INCOMING_CALL}, but is used only by Telephony to add a new * sim-initiated MO call for carrier testing. + * @deprecated Use {@link #addNewUnknownCall} instead. * @hide */ public static final String ACTION_NEW_UNKNOWN_CALL = "android.telecom.action.NEW_UNKNOWN_CALL"; |
