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

If 2 phones are connected to head unit via USB and BT, the connected apps for the connected phone are disconnected when the other phone disconnects #1431

Closed
NicoleYarroch opened this issue Oct 8, 2019 · 1 comment
Assignees
Labels
bug A defect in the library
Projects
Milestone

Comments

@NicoleYarroch
Copy link
Contributor

Bug Report

Phone 1 was connected via USB and all the SDL apps showed up on the head unit. Then phone 2 connected via bluetooth replaced all the SDL apps with phone 2's apps. When I disconnected phone 1's USB cord, all of phone 2's apps disconnected too. This shouldn't have happened.

This can probably be fixed by comparing the session id of the disconnected session with the currently open session id and only closing the session if they match.

Reproduction Steps
  1. Pair phone 2 with the head unit using BT. Then turn off BT on the phone.
  2. Connect phone 1 to the head unit using a USB cord. The phone should register and all the SDL apps should show up.
  3. Turn on BT on phone 2. Phone 2 should register on the head unit and all of phone 2's SDL apps should replace phone 1 apps
  4. Pull the USB cord from phone 1.
Expected Behavior

Nothing should happen as phone 2 is still connected to the head unit.

Observed Behavior

The SDL app sessions on phone 2 are closed.

OS & Version Information
  • iOS Version: n/a
  • SDL iOS Version: 6.3
  • Testing Against: SYNC 3 TDK (v.3.4 Build 19274_DEVTEST)
@NicoleYarroch NicoleYarroch added the bug A defect in the library label Oct 8, 2019
@NicoleYarroch NicoleYarroch changed the title If 2 phones connected to head unit via USB and BT, the connected apps for the connected phone are disconnected when the other phone disconnects If 2 phones are connected to head unit via USB and BT, the connected apps for the connected phone are disconnected when the other phone disconnects Oct 8, 2019
@NicoleYarroch NicoleYarroch self-assigned this Oct 21, 2019
@NicoleYarroch NicoleYarroch added this to To do in v6.4 via automation Oct 21, 2019
@NicoleYarroch NicoleYarroch added this to the 6.4.0 milestone Oct 21, 2019
@theresalech
Copy link
Contributor

Closed via #1453

v6.4 automation moved this from To do to Done Oct 22, 2019
@joeljfischer joeljfischer mentioned this issue Oct 24, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect in the library
Projects
No open projects
v6.4
  
Done
Development

No branches or pull requests

2 participants