summaryrefslogtreecommitdiff
path: root/telecomm
diff options
context:
space:
mode:
author Pranav Madapurmath <pmadapurmath@google.com> 2025-03-19 12:11:08 -0700
committer Pranav Madapurmath <pmadapurmath@google.com> 2025-03-19 12:11:08 -0700
commit96687896185d8d60a24c9951fc485748d5ab077c (patch)
tree8e314fcdf67e8a877b60a1ae6edff529ed46ec63 /telecomm
parentd244a4f570db6764a4e2a3cafd07b06172ba3ef8 (diff)
DSDA: Handle call resume failure
Handles the call resume failure across subscriptions. We will attempt to auto-unhold the foreground call that was previously held as part of the original operation to swap the foreground and background calls as it is historically more likely to succeed. Bug: 390116261 Flag: com.android.server.telecom.flags.enable_call_sequencing Test: atest CallTest Test: atest CallSequencingBasicCallTest Change-Id: I966d7fdda9d507cb5a1b36cab3403bf27e1779d6
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecom/Connection.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index ebe00782319a..68216b2dbd8a 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -912,6 +912,16 @@ public abstract class Connection extends Conferenceable {
public static final String EVENT_CALL_HOLD_FAILED = "android.telecom.event.CALL_HOLD_FAILED";
/**
+ * Connection event used to inform Telecom when a resume operation on a call has failed.
+ * <p>
+ * Sent via {@link #sendConnectionEvent(String, Bundle)}. The {@link Bundle} parameter is
+ * expected to be null when this connection event is used.
+ */
+ @FlaggedApi(Flags.FLAG_CALL_SEQUENCING_CALL_RESUME_FAILED)
+ public static final String EVENT_CALL_RESUME_FAILED =
+ "android.telecom.event.CALL_RESUME_FAILED";
+
+ /**
* Connection event used to inform Telecom when a switch operation on a call has failed.
* <p>
* Sent via {@link #sendConnectionEvent(String, Bundle)}. The {@link Bundle} parameter is