Bug 434412 - Paused Application's Notifications get sent to desktop
Summary: Paused Application's Notifications get sent to desktop
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 11.x
: NOR minor
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-14 19:34 UTC by michael.smith.ok
Modified: 2021-04-12 09:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael.smith.ok 2021-03-14 19:34:53 UTC
SUMMARY


STEPS TO REPRODUCE
1. Hold app icon(Signal for me)
2. Click pause icon
3. Confirm pausing
4. Receive message via application (this is not seen on the android device)

OBSERVED RESULT
Notification came through from Signal application


EXPECTED RESULT
No notification

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.10 using gsconnect

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2021-03-18 23:21:57 UTC
TIL about pausing apps.

I'm not sure about how to fix that. I don't see anything in https://developer.android.com/reference/android/app/Notification that indicates that the app is paused.

Maybe we can listen to https://developer.android.com/reference/android/content/Intent#ACTION_PACKAGES_SUSPENDED