View Issue Details

IDProjectCategoryView StatusLast Update
0015261MMAPlaybackpublic2019-01-18 17:59
Reportermartin Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionreopened 
PlatformAndroidOS-OS Version6
Product Version1.3.4 
Target Version1.3.4Fixed in Version1.3.4 
Summary0015261: Volume lowers while notification despite "Supress notification sounds" is checked (Oreo)
Descriptionhttps://www.mediamonkey.com/forum/viewtopic.php?f=21&t=91133
TagsNo tags attached.
Fixed in build846

Relationships

related to 0015295 closedmartin MMA Options: Activation of suppress notifications 
related to 0015324 closedmartin Touch vibration issues 

Activities

martin

2018-12-19 23:09

developer   ~0051834

Fixed in build 1.3.4.844

peke

2019-01-10 04:08

developer   ~0052018

Verified 845

lowlander

2019-01-11 04:00

developer   ~0052030

Forum feedback indicates it still occurs.

martin

2019-01-15 07:53

developer   ~0052080

No, the issue is sound of all notifications, so also notifications from other apps. By this code, you will define your own notification for your app only. All MMA notifications have not sound.

martin

2019-01-15 20:19

developer   ~0052090

It seems that we have three kinds of behavior on Oreo devices.
1) Mute/unmute notification sound volume
It worked on pre oreo devices well, but usually not on Oreo.

2) Currently, MMA also sets notification sound volume to 0 during playback on Oreo.
Advantages: work on my devices, MMA music volume is not lowered and this solution does not need special permission
Disadvantages: when a volume is set to 0, the vibration is enabled automatically, so the phone vibrates on a notification.

3)Use "Do not disturb mode" and set it to "Priority only".
This will work but permission for "Modify system setting" has to be granted (same as for Touch sounds).

All of these solutions will not work If any app will modify "Do not disturb mode". For those apps, the user has to change this behavior in Settings/App & notifications/App name/
A) disable "Modify system setting" for this app if it is enabled
or in
B) /App notifications/tap on a concrete channel to get in channel settings and check whether it modifies "Do not disturb mode".

martin

2019-01-18 14:22

developer   ~0052113

https://developer.android.com/guide/topics/media-apps/audio-focus
Automatic ducking

martin

2019-01-18 17:59

developer   ~0052116

https://developer.android.com/reference/android/media/AudioFocusRequest.Builder#setWillPauseWhenDucked(boolean)
fix the issue. No additional permission is needed.

Fixed in build 1.3.4.846