From cf2e057f08fa58ca6c0ac62b6c4e6405a4a1436a Mon Sep 17 00:00:00 2001 From: Jongduck You Date: Mon, 27 May 2024 21:22:08 +0000 Subject: Add EXTRA_USE_EMERGENCY_ROUTING to PhoneConstants Add EXTRA_USE_EMERGENCY_ROUTING key to specify whether or not to use emergency routing Add EXTRA_EMERGENCY_URNS key to specify the alternate emergency URNs Bug: 336759603 Test: build and manual test Change-Id: I93f8924691067e1fa7377ac26b3d237a236169c7 --- telephony/java/com/android/internal/telephony/PhoneConstants.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/PhoneConstants.java b/telephony/java/com/android/internal/telephony/PhoneConstants.java index a9ebd5c2d7cd..2158f3dbc08f 100644 --- a/telephony/java/com/android/internal/telephony/PhoneConstants.java +++ b/telephony/java/com/android/internal/telephony/PhoneConstants.java @@ -252,4 +252,10 @@ public class PhoneConstants { /** The key to specify the emergency service category */ public static final String EXTRA_EMERGENCY_SERVICE_CATEGORY = "emergency_service_category"; + + /** The key to specify the alternate emergency URNs */ + public static final String EXTRA_EMERGENCY_URNS = "emergency_urns"; + + /** The key to specify whether or not to use emergency routing */ + public static final String EXTRA_USE_EMERGENCY_ROUTING = "use_emergency_routing"; } -- cgit v1.2.3-59-g8ed1b