[kdeconnect] [Bug 391059] SharePlugin Notification Stuck

2018-03-03 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=391059

Nicolas Fella  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Latest Commit||https://commits.kde.org/kde
   ||connect-android/0b0b90f778f
   ||c53a8513480a233b3f9de96637d
   ||76
 Resolution|--- |FIXED

--- Comment #2 from Nicolas Fella  ---
Git commit 0b0b90f778fc53a8513480a233b3f9de96637d76 by Nicolas Fella, on behalf
of Kai Dombrowe.
Committed on 03/03/2018 at 14:17.
Pushed by nicolasfella into branch 'master'.

Fix stuck notifications in the share plugin

Summary:
Android has a rate limit for updating notifications which was reduced
from 50 to 10 updates/sec since Nougat.
The share plugin updates the progress every time the percentage changes.
The final notification update which makes the notification removable,
is ignored if this happens more than 10 times in a second.
This patch reduces the progress updates to a maximum of 10 times per second.

Reviewers: #kde_connect, nicolasfella

Reviewed By: #kde_connect, nicolasfella

Subscribers: nicolasfella, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D10976

M  +5-1src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java

https://commits.kde.org/kdeconnect-android/0b0b90f778fc53a8513480a233b3f9de96637d76

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 391059] SharePlugin Notification Stuck

2018-03-02 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=391059

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #1 from Nicolas Fella  ---
Since you already figured out how to fix the issue it would be great if you
uploded your patch on Phabricator so we can discuss it.

In case you don't know how to do that, don't be afraid. See
https://community.kde.org/Infrastructure/Phabricator for instructions

-- 
You are receiving this mail because:
You are watching all bug changes.