mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add a new parameter to emergencyDial()."
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user