smartdevicelink/sdl_ios

SystemCapabilityManager screenParams nil, mediaClockFormats empty, and windowID nil when they shouldn't be

jshivabeharry opened this issue · 2 comments

Bug Summary

When accessing displayCapabilities via the systemCapabilityManager screenParams and mediaClockFormats are empty. In SDLSystemCapabilityManager line 710 the screenParams are not nil and mediaClockFormats are not empty. windowID is also nil from defaultMainWindowCapability

screenParams should not be nil in the systemCapabilityManager.
mediaClockFormats should not be in the systemCapabilityManager.
windowID should not be nil in systemCapabilityManager.

Java Suite had a similar issue for screenParams.

Reproduction Steps

  1. Connect application to manticore.
  2. Get the displayCapabilities property from the systemCapabilityManager.
  3. Check the value of the screenParams and mediaClockFormats
let displayCapabilities = sdlManager.systemCapabilityManager.displayCapabilities
let windowCapability = sdlManager.systemCapabilityManager.defaultMainWindowCapability
let screenParams = displayCapabilities?.screenParams
let mediaClockFormats = displayCapabilities?.mediaClockFormats
let windowID = windowCapability?.windowID

Expected Behavior:
screenParams should not be nil.
mediaClockFormats should not be empty.
windowID should not be nil

Observed Behavior:
screenParams are nil.
mediaClockFormats are empty
windowID is nil

iOS Version(s)

No response

sdl_ios Version

7.5.0

Testing Environment(s)

Manticore v2.10.0

Relevant log output

No response

Updated Issue for mediaClockFormats being empty as well

Updated Issue to include windowID is nil