Add interworking with EmergencyStateTracker for sending emergency SMS
This adds the interworking implementation for emergency SMS with the
EmergencyStateTracker. When an emergency SMS is being sent, the
SmsDispatchersController calls the startEmergencySms, then the
EmergencyStateTracker sets the emergency mode to the modem and if the
emergency SMS completely sends regardless of the success or failure, it
should call the endSms, then the EmergencyStateTracker exits the
emergency mode or enters the emergency SMS callback mode if needed.
Bug: 262804071
Test: atest SmsDispatchersControllerTest, EmergencyStateTrackerTest
Test: manual (verify emergency SMS using test number on device when
domain selection disabled)
Test: manual (verify emergency SMS using test number/equipment on device
when domain selection enabled)
Test: manual (verify normal MO SMS on device when domain selection
disabled)
Test: manual (verify normal MO SMS on device when domain selection
enabled)
Change-Id: I7310c1affa3d8e474de7f3f9f81a9af56a17c2c9
diff --git a/flags/messaging.aconfig b/flags/messaging.aconfig
index 777edb7..3c20d69 100644
--- a/flags/messaging.aconfig
+++ b/flags/messaging.aconfig
@@ -5,4 +5,11 @@
namespace: "telephony"
description: "Previously, the DB allows insertion of a random sub Id, but doesn't allow query it. This change rejects such interaction."
bug: "294125411"
-}
\ No newline at end of file
+}
+
+flag {
+ name: "sms_domain_selection_enabled"
+ namespace: "telephony"
+ description: "This flag controls AP domain selection support for normal/emergency SMS."
+ bug: "262804071"
+}