summaryrefslogtreecommitdiff
path: root/telecomm/java/android
diff options
context:
space:
mode:
author Sooraj Sasindran <sasindran@google.com> 2021-10-26 02:03:37 -0700
committer Sooraj Sasindran <sasindran@google.com> 2021-12-06 12:52:31 -0800
commit81be08228332554487fd58b211d9fbaa7472b9b4 (patch)
tree7250b4e4af1e4af9bc7a1f7b0a97f00f565f36df /telecomm/java/android
parent12c048e40614bad9f3df84f840eb0214e252e49b (diff)
Provide last known cell id for emergency call
Provide last known cell id to connection service for emergency calls. Bug: 198533763 Test: unit test Change-Id: I8b660c0b5fbe095e3b9b67129b7404ebd7ec5ccd
Diffstat (limited to 'telecomm/java/android')
-rw-r--r--telecomm/java/android/telecom/Connection.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java
index d06fe45a104c..2b855e92c549 100644
--- a/telecomm/java/android/telecom/Connection.java
+++ b/telecomm/java/android/telecom/Connection.java
@@ -822,6 +822,17 @@ public abstract class Connection extends Conferenceable {
"android.telecom.extra.AUDIO_CODEC_BANDWIDTH_KHZ";
/**
+ * Last known cell identity key to be used to fill geo location header in case of an emergency
+ * call. This entry will not be filled if call is not identified as an emergency call.
+ * {@link Connection}. Only provided to the {@link ConnectionService} for the purpose
+ * of placing an emergency call; will not be present in the {@link InCallService} layer.
+ * The {@link ConnectionService}'s implementation will be logged for fine location access
+ * when an outgoing call is placed in this case.
+ */
+ public static final String EXTRA_LAST_KNOWN_CELL_IDENTITY =
+ "android.telecom.extra.LAST_KNOWN_CELL_IDENTITY";
+
+ /**
* Boolean connection extra key used to indicate whether device to device communication is
* available for the current call.
* @hide