smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

Startup PTU triggers are not checked for HMI PTU in EXTERNAL_PROPRIETARY mode #3648

Closed jacobkeeler closed 3 years ago

jacobkeeler commented 3 years ago

Bug Report

Startup PTU triggers (Ignition Cycles & Days triggers) are not checked in EXTERNAL_PROPRIETARY mode until an app is connected. When using the HMI to perform the PTU, this trigger should be checked before an app is connected.

Reproduction Steps
  1. Build Core with -DEXTENDED_POLICY=EXTERNAL_PROPRIETARY
  2. Set "exchange_after_x_ignition_cycles": 1 via a HMI policy table update
  3. Shut down Core and HMI via IGNITION_OFF signal
  4. Start HMI and Core again
Expected Behavior

PTU sequence is started before any app is connected and completes successfully

Observed Behavior

PTU sequence is only started after the first app is connected

OS & Version Information
jacobkeeler commented 3 years ago

Closing with the merge of #3649