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

Keep FULL for apps after conflict resolution #3538

Conversation

AKalinich-Luxoft
Copy link
Contributor

@AKalinich-Luxoft AKalinich-Luxoft commented Oct 13, 2020

Fixes #3527

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Covered by ATF script

Summary

There was found an issue in state controller related to wrong transition of non-media applications (not streamable and not audible) from FULL to BACKGROUND in case of some events. To fix that issue, SDL should check first if non-media application is currently in FULL and another application is not in FULL. If so, non-media application should stay in FULL.

CLA

@AKalinich-Luxoft AKalinich-Luxoft force-pushed the fix/fix_deactivation_to_background branch from 3e2b5d8 to 0a0287b Compare October 13, 2020 13:38
@dboltovskyi dboltovskyi added the CI should be targeted for CI/CT checks by jenkins label Oct 13, 2020
@Jack-Byrne
Copy link
Collaborator

@AKalinich-Luxoft Sorry i dont think this fix fully addresses the issue.

I ran these scripts over 100 times and saw 3 failures.

./test_scripts/Resumption/InteriorVehicleData/015_InteriorVD_resumption_two_apps_same_moduleTypes_same_moduleIds_unexpected_disconnect.lua
./test_scripts/Resumption/InteriorVehicleData/016_InteriorVD_resumption_two_apps_same_moduleTypes_same_moduleIds_IGN_OFF.lua

I believe the fix I suggested here resolved the issue, I did not see those errors when running the test repeatedly: #3527 (comment)

@Jack-Byrne
Copy link
Collaborator

@AKalinich-Luxoft Sorry i believe the failures were a false alarm. Sorry for the confusion, approving

@Jack-Byrne Jack-Byrne merged commit f1d5756 into smartdevicelink:release/7.0.0 Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI should be targeted for CI/CT checks by jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants