D29358: Implement lock-screen visibility control on Android
Nicolas Fella
noreply at phabricator.kde.org
Wed May 20 20:10:49 BST 2020
nicolasfella requested changes to this revision.
nicolasfella added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> notifybyandroid.cpp:110
> n.setField("urgency", (jint)(notification->urgency() == KNotification::DefaultUrgency ? KNotification::HighUrgency : notification->urgency()));
> + n.setField("visibility", QAndroidJniObject::fromString(notification->hints().value(QLatin1String("visibility")).toString().toLower()).object<jstring>());
>
The hint name should be something like x-kde-visibility
REPOSITORY
R289 KNotifications
REVISION DETAIL
https://phabricator.kde.org/D29358
To: vkrause, nicolasfella
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200520/e85df0a6/attachment.htm>
More information about the Kde-frameworks-devel
mailing list