Remove only app logic for device listener start #1879
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1878
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Unit Tests
N/A
Core Tests
Test 1
Test 2
Test 3
Test should also include tests from #1384 and #1685 (except test Multiple apps, one installed after BT connection, non SDL device is now invalid)
Core version / branch / commit hash / module tested against: Ford TDK
HMI name / version / branch / commit hash / module tested against: Ford TDK
Summary
This PR changes a limitation to the waking up the router service process where it would only start the SdlDeviceListener if there was a supplied BT device or if it was the only SDL app installed. This PR will allow the device lisetener to start any time as long as there is a BT device supplied from the broadcast receiver or if a BT device is connected using the headset or A2DP profiles. This is to increase the ability to to connect to IVIs without the need to always disconnect BT and reconnect.
Changelog
Enhancements
CLA