smartdevicelink / sdl_core

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

SDL sends RegisterAppInterface response with the incorrect value of "hmiCapabilities" parameters if HMICapabilitiesCacheFile exists #3804

Closed VjKlepikov closed 2 years ago

VjKlepikov commented 2 years ago

Bug Report

SDL sends RegisterAppInterface response with the incorrect value of "hmiCapabilities" parameters if HMICapabilitiesCacheFile exists

Reproduction Steps
  1. HMICapabilitiesCacheFile parameter has a value with name the file ( e.g. hmi_capabilities_cache.json) in SmartDeviceLink.ini
  2. HMICapabilitiesCacheFile file is present in AppStorageFolder (Perform Ignition cycle) with "hmiCapabilities" : { "navigation" : true, "phoneCall" : true, "videoStreaming": true }
  3. SDL and HMI are started
  4. Mobile App sends RegisterAppInterface request to SDL
Expected Behavior

SDL→App: SDL sends RegisterAppInterface response with capabilities (stored in hmi_capabilities_cache.json) to Mobile

"hmiCapabilities" : { "navigation" : true, "phoneCall" : true, "videoStreaming": true }

Observed Behavior

SDL sends RegisterAppInterface response with the incorrect value of "hmiCapabilities" parameters "hmiCapabilities" : { "navigation" : false, "phoneCall" : false, "videoStreaming": false }

OS & Version Information
VjKlepikov commented 2 years ago

Please note Luxoft team is going to prepare a fix

Jack-Byrne commented 2 years ago

@VjKlepikov Was this issue discovered on 7.1 and 8.0?

dboltovskyi commented 2 years ago

@JackLivio Please notice this is a non-regression issue. It's also reproduced on 7.1

ShobhitAd commented 2 years ago

Closed via https://github.com/smartdevicelink/sdl_core/pull/3820