summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorigapchuck <igapchuck@luxoft.com>2019-06-26 14:51:49 +0300
committerigapchuck <igapchuck@luxoft.com>2019-07-24 10:26:36 +0300
commitc1cced8d10c5fa8b509a7502a5873360fa66aca5 (patch)
treed1960e0919862f02e5a005a6d3be947fe722bc6e
parent596514c10ae2d89eda79d8f2390f0e45c7c333dd (diff)
downloadsdl_core-c1cced8d10c5fa8b509a7502a5873360fa66aca5.tar.gz
Add lock_screen_dismissal_warning to API and policy.
lock_screen_dismissal_warning parameter should be in consumer_friendly_messages section in sdl_preloaded_pt.
-rw-r--r--src/appMain/sdl_preloaded_pt.json7
-rw-r--r--src/components/interfaces/MOBILE_API.xml8
2 files changed, 15 insertions, 0 deletions
diff --git a/src/appMain/sdl_preloaded_pt.json b/src/appMain/sdl_preloaded_pt.json
index 3888650ed2..88bcafcd82 100644
--- a/src/appMain/sdl_preloaded_pt.json
+++ b/src/appMain/sdl_preloaded_pt.json
@@ -1920,6 +1920,13 @@
}
}
},
+ "LockScreenDismissalWarning":{
+ "languages":{
+ "en-us":{
+ "textBody": "Swipe down to dismiss, acknowledging that you are not the driver"
+ }
+ }
+ },
"Notifications": {
"languages": {
"de-de": {
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml
index 970a4805fb..3072b3fb5b 100644
--- a/src/components/interfaces/MOBILE_API.xml
+++ b/src/components/interfaces/MOBILE_API.xml
@@ -7561,6 +7561,14 @@
that they are not the driver.
</description>
</param>
+ <param name="lockScreenDismissalWarning" type="String" mandatory="false" since="6.0">
+ <description>
+ Warning message to be displayed on the lock screen when dismissal is enabled.
+ This warning should be used to ensure that the user is not the driver of the vehicle,
+ ex. `Swipe down to dismiss, acknowledging that you are not the driver.`.
+ This parameter must be present if "lockScreenDismissalEnabled" is set to true.
+ </description>
+ </param>
</function>
<function name="OnPermissionsChange" functionID="OnPermissionsChangeID" messagetype="notification" since="2.0">