Add channel to notifications.

Authored by nicolasfella on Mar 24 2018, 12:02 AM.

Description

Add channel to notifications.

Summary:
Oreo requires that each notification has a channel assigned. This patch uses a common channel for all. Individual channels for different notifications (Notifications plugin, pairing notifications, share plugin) could be done, but
since in our case notifications are not a critical part of the UX it does not seem necessary to me. Setting the channel on NotificationCompat.Builder requires version 26 of the support library, the implications of this were
discussed in D8966.

Reviewers: KDE Connect

Subscribers: mtijink, albertvaka, KDE Connect

Tags: KDE Connect

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

Details

Committed
albertvakaMay 20 2018, 9:32 PM
Differential Revision
D9514: Add channel to notifications.
Parents
R225:050081e4c8ce: Fix build
Branches
Unknown
Tags
Unknown