View Issue Details

IDProjectCategoryView StatusLast Update
0021020MMAUI (general)public2024-09-30 13:18
Reporterpeke Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status feedbackResolutionreopened 
Target Version2.0.1Fixed in Version2.0.1 
Summary0021020: Notification can't be removed Android 14
DescriptionEven MM is set to close after 10s from notification it stays indefinitely and can't be manually removed unless you force kill MMA from apps info.
Steps To Reproduce1. Start MMA
2. Check Notification
3. Press home to go back to home screen
4. Notification is still shown even after 10 minutes and you can't remove it by swiping (both left and right).

Video showing swiping action is attached.

EDIT: Notification stays even you clear all recent apps from device.
TagsNo tags attached.
Attached Files
image.png (139,254 bytes)   
image.png (139,254 bytes)   
Fixed in build1202

Activities

peke

2024-06-14 11:16

developer   ~0075956

martin

2024-07-26 17:14

developer   ~0076446

I have improved it in 2.0.1.1202
However, it depends on the Android version, but to get the swipe action to work the playback must be paused and related settings must be enabled/disabled in the Notification settings on some newer Android versions.

To get to the notification setting use a long click on Playback Notification or partly swipe to the left to show the setting icon.

There is an option in my devices, which is called differently:
 "Pin media player" on Android 14 or
 "Hide player when the media session has ended" on Android 11
or no related option on my Samsung Android 11 device.

This is a little bit messy on the Android side, anyway, after a long click on the Playback Notification, the hide button usually shows up, which seems to work also without changing notification settings.

peke

2024-07-30 22:31

developer   ~0076489

works satisfactory for now in 1202

At least we have three ways to clear it

I have "unpin player when the media session has ended" and "Pin media player" can be enabled/disabled now.

rusty

2024-07-31 00:35

administrator   ~0076492

This functionality seems to conflict with existing functionality:
- on the one hand MMA > Options > UI has options to show the player in the Notification bar: Never, x amount of time, or Always
- on the other hand, there are now options to Pin (same as 'always') / Hide after playback (similar to 'x amount of time' options)
Can you clarify how these apparently conflicting options relate to one another?

p.s. on an S24 / Android 14, I'm not seeing any new options.

martin

2024-08-07 17:19

developer   ~0076611

Based on my testing system "Pin media player" does not conflict with our "Never, x amount of time" on Pixel 6a
 
There are no additional system settings on the Samsung device.

On Moto One Vision (Android 11) there is a "Hide player when the media session has ended" - if this option is disabled, the player stays in the notification area even if a time limit is set on the MMA side and also swipe action to hide notification is ignored

peke

2024-08-08 00:17

developer   ~0076613

Test note I have exactly the same results as @martin at 0021020:0076611

rusty

2024-08-21 03:06

administrator   ~0076695

Last edited: 2024-08-21 03:19

So what does it mean if the user has configured either of the following scenarios?
A) MMA > Options > UI: Show the player in the Notification bar settings: Never AND 'Pin media player'? i.e. when I test this, the Android setting seems to override the MMA setting?!
B) MMA > Options > UI: Show the player in the Notification bar settings: Always and 'Hide after playback'? i.e. when I test this, the MMA setting seems to override the Android setting?!
Basically, any option to display the player overrides a setting to hide the player--so what's the point of having both sets of settings (for non-Samsung devices) if they conflict with one another?

note: I tested the above on Android 11 and 14 (the options were slightly different on each). I also couldn't see these options on an S24.

martin

2024-09-30 13:18

developer   ~0077145

The problem is that we are not able to read these settings. There is no direct API to access this setting programmatically. MMA is unable to decide which option is not necessary or not working.
Therefore, we should keep all options available as are.