Add a new parameter to emergencyDial().
The new parameter is to indicate if the request is initiated
by the user through an emergency dialer or shortcut, meaning
that the request is explicitly an emergency dial request.
This is to indicate to the modem that no disambiguation (regarding
whether this is really an emergency request) should
be done for this request.
Test: builds fine
Bug: 123101600
Merged-in: Ic830762d8a8319f494f22d875ca6adad91ffce3b
Change-Id: Ic830762d8a8319f494f22d875ca6adad91ffce3b
(cherry picked from commit 143d32860f
)
This commit is contained in:
parent
2434ba47b4
commit
44f86a6f97
1 changed files with 7 additions and 1 deletions
|
@ -128,6 +128,10 @@ interface IRadio extends @1.3::IRadio {
|
|||
* does not support the emergency service category or emergency uniform resource names, the
|
||||
* field 'categories' or 'urns' may be ignored.
|
||||
*
|
||||
* 'fromEmergencyDialer' indicates if this request originated from emergency dialer/shortcut,
|
||||
* which means an explicit intent from the user to dial an emergency number. The modem must
|
||||
* treat this as an actual emergency dial and not try to disambiguate.
|
||||
*
|
||||
* If 'isTesting' is true, this request is for testing purpose, and must not be sent to a real
|
||||
* emergency service; otherwise it's for a real emergency call request.
|
||||
*
|
||||
|
@ -142,12 +146,14 @@ interface IRadio extends @1.3::IRadio {
|
|||
* of the call.
|
||||
* @param urns the emergency Uniform Resource Names (URN)
|
||||
* @param routing @1.4::EmergencyCallRouting the emergency call routing information.
|
||||
* @param fromEmergencyDialer Flag indicating if this request originated from emergency dialer.
|
||||
* @param isTesting Flag indicating if this request is for testing purpose.
|
||||
*
|
||||
* Response function is IRadioResponse.emergencyDialResponse()
|
||||
*/
|
||||
oneway emergencyDial(int32_t serial, Dial dialInfo,
|
||||
bitfield<EmergencyServiceCategory> categories, vec<string> urns,
|
||||
EmergencyCallRouting routing, bool isTesting);
|
||||
EmergencyCallRouting routing, bool fromEmergencyDialer, bool isTesting);
|
||||
|
||||
/**
|
||||
* Starts a network scan
|
||||
|
|
Loading…
Reference in a new issue