Bug 433051 - Option to disable Android Notifications for send/received files via KDEConnect
Summary: Option to disable Android Notifications for send/received files via KDEConnect
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-17 08:00 UTC by user456
Modified: 2023-09-12 03:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description user456 2021-02-17 08:00:03 UTC
A successful send makes a phone notification, which persists until removed
manually, but it is often unnecessary for me, as I mostly use Send file as a
quick alternative to bluetooth/cable to exchange files with the PC.

For example:
- if I have the PC in front of me, the PC notification is enough and
  auto-destroys after a few seconds;
- if the file is not to be used right away after receiving, e.g. I send
  and forget it, or send a big file and do another task.

What about an option to disable the notification or make it time-based?

For clarity, I do not ask for a general "don't disturb" mode (in fact I want
other notifications), but to disable it when already notified by other means.

I'm on kde connect 1.16 (not available as an option in bugzilla's form)
Comment 1 Bug Janitor Service 2023-09-11 02:50:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-android/-/merge_requests/393
Comment 2 Albert Vaca Cintora 2023-09-12 03:37:21 UTC
Git commit 17757908c4f140102983db8943f87a687997b4bc by Albert Vaca Cintora.
Committed on 12/09/2023 at 05:14.
Pushed by albertvaka into branch 'master'.

Split notification channels for received and sent files

M  +2    -1    res/values/strings.xml
M  +14   -5    src/org/kde/kdeconnect/Helpers/NotificationHelper.java
M  +2    -2    src/org/kde/kdeconnect/Plugins/SharePlugin/ReceiveNotification.java
M  +2    -2    src/org/kde/kdeconnect/Plugins/SharePlugin/UploadNotification.java

https://invent.kde.org/network/kdeconnect-android/-/commit/17757908c4f140102983db8943f87a687997b4bc