View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015261 | MMA | Playback | public | 2018-12-13 22:30 | 2019-01-18 17:59 |
Reporter | martin | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | reopened | ||
Platform | Android | OS | - | OS Version | 6 |
Product Version | 1.3.4 | ||||
Target Version | 1.3.4 | Fixed in Version | 1.3.4 | ||
Summary | 0015261: Volume lowers while notification despite "Supress notification sounds" is checked (Oreo) | ||||
Description | https://www.mediamonkey.com/forum/viewtopic.php?f=21&t=91133 | ||||
Tags | No tags attached. | ||||
Fixed in build | 846 | ||||
|
Fixed in build 1.3.4.844 |
|
Verified 845 |
|
Forum feedback indicates it still occurs. |
|
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. |
|
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". |
|
https://developer.android.com/guide/topics/media-apps/audio-focus Automatic ducking |
|
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 |