D10976: Fix stuck notifications in the share plugin
Kai Dombrowe
noreply at phabricator.kde.org
Fri Mar 2 20:10:00 UTC 2018
kDomb created this revision.
kDomb added a reviewer: KDE Connect.
kDomb added a project: KDE Connect.
kDomb requested review of this revision.
REVISION 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.
BUG: 391059
REPOSITORY
R225 KDE Connect - Android application
REVISION DETAIL
https://phabricator.kde.org/D10976
AFFECTED FILES
src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java
To: kDomb, #kde_connect
Cc: #kde_connect, vhyvert, adeen-s, SemperPeritus, ahmedbesbes, daniel.z.tg, jeanv, tfella, aboudhar, seebauer, bugzy, MayeulC, menasshock, ach, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180302/735ce644/attachment.html>
More information about the KDEConnect
mailing list