smartdevicelink / sdl_core

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

SDL sends PerformAudioPassThru response with UNSUPPORTED_RESOURCE, success:true in case HMI respond UI.IsReady with 'available' = false #3922

Open VjKlepikov opened 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL sends PerformAudioPassThru response with UNSUPPORTED_RESOURCE, success:true in case HMI respond UI.IsReady with 'available' = false

Reproduction Steps
  1. SDL and HMI are started.
  2. HMI respond with 'available' = false on UI.IsReady request from SDL
  3. App is registered and activated
  4. App requests PerformAudioPassThru with UI part to SDL
Expected Behavior

SDL does not send UI.PerformAudioPassThru request to HMI SDL does not send UI.OnRecordStart request to HMI SDL does not send OnAudioPassThru notification to App SDL does respond PerformAudioPassThru(resultCode: UNSUPPORTED_RESOURCE, success: false) to App

Observed Behavior

SDL does not send UI.PerformAudioPassThru request to HMI SDL sends UI.OnRecordStart request to HMI SDL sends OnAudioPassThru notification to App SDL does respond PerformAudioPassThru(resultCode: UNSUPPORTED_RESOURCE, success: true) to App

OS & Version Information

OS/Version: Ubuntu 18.04 SDL Core Version: https://github.com/smartdevicelink/sdl_core/tree/develop (65947fd)

Logs:

Logs_3922.zip