diff options
author | Alexander <akutsan@luxoft.com> | 2018-12-17 17:49:46 +0000 |
---|---|---|
committer | igapchuck <igapchuck@luxoft.com> | 2019-07-24 10:26:36 +0300 |
commit | e7af1061be064f983f64a837f665d3d4d51c601c (patch) | |
tree | ea282346e12c938f0b192b7976ccc007e8c578c4 | |
parent | a6d1390dab380805ef475552b63a95843ed97133 (diff) | |
download | sdl_core-e7af1061be064f983f64a837f665d3d4d51c601c.tar.gz |
Add lock_screen_dismissal_enabled to API and policy
-rw-r--r-- | src/appMain/sdl_preloaded_pt.json | 3 | ||||
-rw-r--r-- | src/components/interfaces/MOBILE_API.xml | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/appMain/sdl_preloaded_pt.json b/src/appMain/sdl_preloaded_pt.json index 2630d8bd8e..3888650ed2 100644 --- a/src/appMain/sdl_preloaded_pt.json +++ b/src/appMain/sdl_preloaded_pt.json @@ -33,7 +33,8 @@ "COMMUNICATION": 6,
"NORMAL": 4,
"NONE": 0
- }
+ },
+ "lock_screen_dismissal_enabled": true
},
"functional_groupings": {
"Base-4": {
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml index fb6e9dc95e..970a4805fb 100644 --- a/src/components/interfaces/MOBILE_API.xml +++ b/src/components/interfaces/MOBILE_API.xml @@ -7554,6 +7554,13 @@ <param name="state" type="DriverDistractionState" mandatory="true"> <description>Current State of Driver Distraction</description> </param> + <param name="lockScreenDismissalEnabled" type="Boolean" mandatory="false" since="6.0"> + <description> + If enabled, the lock screen will be able to be dismissed while connected to SDL, allowing users + the ability to interact with the app. Dismissals should include a warning to the user and ensure + that they are not the driver. + </description> + </param> </function> <function name="OnPermissionsChange" functionID="OnPermissionsChangeID" messagetype="notification" since="2.0"> |