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

On android 7.0, On lock screen don't pause music when incomming call #388

Closed
dtdevpro opened this issue Jul 1, 2020 · 1 comment
Closed
Assignees
Labels
1 backlog bug Something isn't working

Comments

@dtdevpro
Copy link

dtdevpro commented Jul 1, 2020

On android 7.0, On lock screen don't pause music when incomming call
Code:
@OverRide
void onAudioFocusLost(AudioInterruption interruption) {
onPause();
}

@OverRide
void onAudioFocusGained(AudioInterruption interruption) {
onPlay();
}

@OverRide
void onAudioBecomingNoisy() {
onPause();
}

On open Screen: pause music when incomming call run normal

Sorry my english is bad!

@dtdevpro dtdevpro added 1 backlog bug Something isn't working labels Jul 1, 2020
@dtdevpro dtdevpro closed this as completed Jul 1, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants