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

"Ongoing" notification messes with device sounds #716

Closed
ameshkov opened this Issue Jul 25, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@ameshkov
Member

ameshkov commented Jul 25, 2016

Check out this video:
https://www.dropbox.com/s/wu29tn5ol1modfw/VID_20160723_130629.mp4

It appears that when our notification is active, Android cease to play music.

@ameshkov ameshkov added the Bug label Jul 25, 2016

@ameshkov ameshkov added this to the 2.7 milestone Jul 25, 2016

@Revertron

This comment has been minimized.

Show comment
Hide comment
@Revertron

Revertron Jul 25, 2016

Member

Samsung strikes back!
As I thought - our notifications with default flags are seen by samsungs "OS" as "long audio focus", not short one as it should be.
I've given a test build to the user - he can not repeat the problem on it.
The build has one difference:
builder.setDefaults(Notification.DEFAULT_VIBRATE | Notification.DEFAULT_LIGHTS); - without sound, and not the builder.setDefaults(Notification.ALL); as we were using for years.

Member

Revertron commented Jul 25, 2016

Samsung strikes back!
As I thought - our notifications with default flags are seen by samsungs "OS" as "long audio focus", not short one as it should be.
I've given a test build to the user - he can not repeat the problem on it.
The build has one difference:
builder.setDefaults(Notification.DEFAULT_VIBRATE | Notification.DEFAULT_LIGHTS); - without sound, and not the builder.setDefaults(Notification.ALL); as we were using for years.

@Revertron

This comment has been minimized.

Show comment
Hide comment
@Revertron

Revertron Jul 28, 2016

Member

User has checked - it works perfectly.

Member

Revertron commented Jul 28, 2016

User has checked - it works perfectly.

@Revertron Revertron closed this Jul 28, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment