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

Resolve notification bar issue #108

Closed
goldy1992 opened this issue Nov 23, 2019 · 1 comment
Closed

Resolve notification bar issue #108

goldy1992 opened this issue Nov 23, 2019 · 1 comment
Assignees
Labels

Comments

@goldy1992
Copy link
Owner

goldy1992 commented Nov 23, 2019

Requirements

WHEN: player is started
THEN: Notification is not displayed (i.e. playerNotificationManager.setPlayer(null) on startup)

WHEN: a song if played or resumed:
THEN: if notification is not displayed, display it, (i.e. playerNotificationManager.setPlayer(player))

WHEN: media player is playing
THEN: notification is active and cannot be removed

WHEN: media player is paused
THEN: notification can be removed

WHEN: back is pressed on the MainActivity and the app is exited
AND: the player is in ANY state
AND: The notification is present
THEN: The notification is NOT removed

WHEN: The media player is playing and the app is removed from the current tasks
THEN: The notification is NOT removed

WHEN: The media player is paused and the app is removed from the current tasks
THEN: The notification is removed

@goldy1992 goldy1992 self-assigned this Nov 23, 2019
@goldy1992 goldy1992 added the bug label Nov 23, 2019
@goldy1992
Copy link
Owner Author

merged to develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant