Merge "Mark event-based handover constants as deprecated."

am: 5604cc2516

Change-Id: I25b81274e0825e94133d21b976c8a20c4faff83d
This commit is contained in:
Tyler Gunn
2018-09-26 06:02:39 -07:00
committed by android-build-merger
2 changed files with 18 additions and 0 deletions

View File

@@ -594,6 +594,8 @@ public abstract class Connection extends Conferenceable {
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has
* successfully completed.
* @hide
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
* APIs instead.
*/
public static final String EVENT_HANDOVER_COMPLETE =
"android.telecom.event.HANDOVER_COMPLETE";
@@ -603,6 +605,8 @@ public abstract class Connection extends Conferenceable {
* {@link Call#EVENT_REQUEST_HANDOVER} that the handover from this {@link Connection} has failed
* to complete.
* @hide
* @deprecated Use {@link Call#handoverTo(PhoneAccountHandle, int, Bundle)} and its associated
* APIs instead.
*/
public static final String EVENT_HANDOVER_FAILED =
"android.telecom.event.HANDOVER_FAILED";