Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SDL-0243 Manager Update for DisplayCapability #1427

Merged

Conversation

joeljfischer
Copy link
Contributor

@joeljfischer joeljfischer commented Oct 2, 2019

Fixes #1386

Update from #1390 and #1419

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

Unit tests were updated and run

Smoke tests were performed against:

SDL Core

  • SDL Core, v6.0.0-in-progress / develop / 7c442abce73c462e7724a64b3ce037bcb8e9093e

  • sdl_hmi, develop / 760d5e812f92c57f1676099029cbce72410b818b

  • generic_hmi, develop / 8c555b95cb8d580c3bf8e0ee6c3bf6f30179ec16

  • Sub-managers receive updated displays when the initial connection occurs.

  • Sub-managers receive updated displays when a new layout occurs.

TDK

  • Sync 3.4, 19248_DEVTEST

  • Sub-managers receive updated displays when the initial connection occurs.

Summary

This PR updates SDLSystemCapabilityManager with the ability to subscribe to the new DISPLAYS type. Also updates other internal managers to use the new DISPLAY capabilities.

Changelog

Enhancements
  • Updated SDLSystemCapabilityManager with support for the new DISPLAYS type.

Tasks Remaining:

  • Smoke testing against Core
  • Smoke testing against Manticore (older core)
  • Smoke testing against Ford TDK (even older core)

CLA

kshala-ford and others added 26 commits August 29, 2019 02:08
…getter. Fixed bool vs. NSNumber condition. Fixed first time display backwards conversion. Fixed etst error in file manager toBeCloseTo was within 0.001 now is 0.01. Fixed a bug in menu manager test using wrong response notification name.
…issue_1386_manager_update_display_capability
…issue_1386_manager_update_display_capability

# Conflicts:
#	SmartDeviceLink/SDLSystemCapability.h
#	SmartDeviceLink/SDLSystemCapability.m
Co-Authored-By: Joel Fischer <joeljfischer@gmail.com>
…ions. Renamed convert flag. Created window and display capability group. Changed media clock to empty array. Changed repeat test to unique data. Other minor suggestions applied.
…issue_1386_manager_update_display_capability

# Conflicts resolved:
#	SmartDeviceLink/SDLSystemCapabilityManager.m
#	SmartDeviceLinkTests/DevAPISpecs/SDLFileManagerSpec.m
#	SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
* Fix example app deprecation warnings
* Stylistic fixes
* Text and Graphic / Soft Button managers now start when the screen manager starts, which allows them to try subscribing to DISPLAYS once the connection is established
* Add additional pragma categories for system capability manager
* Permit subscribing to DISPLAYS even if on systems < 5.1.0 because updates through SetDisplayLayout route through that subscription now
@joeljfischer joeljfischer added enhancement proposal Accepted SDL Evolution Proposal labels Oct 2, 2019
@joeljfischer joeljfischer self-assigned this Oct 2, 2019
@joeljfischer joeljfischer added this to In progress in v6.4 via automation Oct 2, 2019
@joeljfischer joeljfischer changed the title WIP: Implement SDL-0243 Manager Update for DisplayCapability Implement SDL-0243 Manager Update for DisplayCapability Oct 2, 2019
@justingluck93
Copy link
Contributor

templatesAvailable is missing a getter/setter in SDLWindowCapability.m making this property nil.

v6.4 automation moved this from In progress to Review in progress Oct 3, 2019
Copy link
Contributor

@justingluck93 justingluck93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment on issue

v6.4 automation moved this from Review in progress to Reviewer approved Oct 4, 2019
@joeljfischer joeljfischer merged commit 1f2c60c into develop Oct 4, 2019
v6.4 automation moved this from Reviewer approved to Done Oct 4, 2019
@joeljfischer joeljfischer deleted the feature/issue-1386-manager-update-display-capability branch October 4, 2019 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Accepted SDL Evolution Proposal
Projects
No open projects
v6.4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants