smartdevicelink / sdl_requirements

Collection of requirements/technical tasks for new sdl_core features
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

[UI - OnDriverDistraction] - SDL Passenger Mode #114

Open KhrystynaDubovyk opened 5 years ago

KhrystynaDubovyk commented 5 years ago

OnDriverDistraction (<lockScreenDismissalEnabled>)

Description:

As a passenger user I want to be able to dismiss the application lock screen while the vehicle is in motion.

Detailed description:

HMI API changes

Change the OnDriverDistraction notification to include the additional parameter:

<function name="OnDriverDistraction" messagetype="notification">

  <!-- newly added parameter -->
  <param name="lockScreenDismissalEnabled" type="Boolean" mandatory="false">
    <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>

Diagram:

N/A

Links: