Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bff6937e authored by Hwangoo Park's avatar Hwangoo Park
Browse files

Update EmergencyStateTracker to cover emergency SMS and edge cases

This CL contains the followings:
 - Adds emergency SMS APIs: startEmergencySms/endSms
 - Covers some edge cases:
   - Waits for ongoing call/SMS before the emergency mode is exited if
     an emergency call/SMS ends while another emergency call/SMS is in
     progress on the same phone.
   - Basically, an emergency call will be handled with priority, and if
     an emergency call/SMS starts on the same or different phone
     sequentially, it will be processed with a proper manner by
     canceling and proceeding or returning the result immediately.

Bug: 267220850
Test: atest EmergencyStateTrackerTest
Test: manual (verify emergency call/SMS start/end with test emergency number)
Change-Id: I46980424ce735df149fcc6166f24785a060d6bc0
parent 60c32456
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment