Cache call removal future to enable canceling it when we retry

When retrying emergency calls over a new CS, enable telecom to
cancel a pending removal from the old CS because
CreateConnectionProcessor will handle the removal internally.

Bug: 341157874
Flag: com.android.server.telecom.flags.cancel_removal_on_emergency_redial
Test: manual E2E testing
Change-Id: I6fc96a7ffbadffb31e26c4f391ba6fe9e46d3dac
diff --git a/flags/telecom_call_flags.aconfig b/flags/telecom_call_flags.aconfig
index 40aa8b2..ed75f14 100644
--- a/flags/telecom_call_flags.aconfig
+++ b/flags/telecom_call_flags.aconfig
@@ -14,4 +14,15 @@
   namespace: "telecom"
   description: "cache call audio callbacks if the service is not available and execute when set"
   bug: "321369729"
-}
\ No newline at end of file
+}
+
+# OWNER = breadley TARGET=24Q3
+flag {
+  name: "cancel_removal_on_emergency_redial"
+  namespace: "telecom"
+  description: "When redialing an emergency call on another connection service, ensure any pending removal operation is cancelled"
+  bug: "341157874"
+  metadata {
+      purpose: PURPOSE_BUGFIX
+    }
+}