You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On android 7.0, On lock screen don't pause music when incomming call Code: @OverRide
void onAudioFocusLost(AudioInterruption interruption) {
onPause();
}
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.
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!
The text was updated successfully, but these errors were encountered: