Navigation Menu

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

Audio stream manager no longer suspends audio when device app is inactive #1235

Merged

Conversation

NicoleYarroch
Copy link
Contributor

Fixes #1224

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

  • Test cases fixed for the SDLStreamingAudioLifecycleManager

Summary

  • Removed logic that suspended audio streaming when device app was backgrounded.
  • Removed the public currentAppState property from the private SDLStreamingAudioLifecycleManager class as the app state has bearing on whether audio can stream.

Changelog

Bug Fixes
  • Navigation and projection apps can now stream audio even when the app on the device is backgrounded.

CLA

PCM audio can now stream in background
* SDLStreamingAudioLifecycleManager no longer monitors the `currentAppState` as audio can stream when app is backgrounded
* Removed logic setting the `currentAppState`
* Updated SDLStreamingAudioLifecycleManager test cases
@NicoleYarroch NicoleYarroch self-assigned this Apr 15, 2019
@NicoleYarroch NicoleYarroch added the bug A defect in the library label Apr 15, 2019
@joeljfischer joeljfischer merged commit 8d93dee into develop Apr 18, 2019
@joeljfischer joeljfischer deleted the bugfix/issue_1224_audio_service_stopped_in_background branch April 18, 2019 13:22
@NicoleYarroch NicoleYarroch added this to In progress in v6.3 via automation Apr 25, 2019
@NicoleYarroch NicoleYarroch moved this from In progress to Done in v6.3 Apr 25, 2019
@joeljfischer joeljfischer mentioned this pull request May 8, 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.3
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants