Allow disabling persistent notification in Android 8.0 and up

Authored by brute4s99 on Jan 16 2019, 10:44 PM.

Description

Allow disabling persistent notification in Android 8.0 and up

Summary:
Show persistent notification toggle is disabled from Android O and up
This patch aims to enable the toggle with link to Notifications Settings, so that user can itself disable the persistent notification if desired

Test Plan: Apply patch, use on Android O or up device and use Show persistent notification toggle. It should take you to Notifications settings page of KDE Connect

Reviewers: KDE Connect, albertvaka

Reviewed By: KDE Connect, albertvaka

Subscribers: albertvaka, eduisters, nicolasfella, kdeconnect, KDE Connect

Tags: KDE Connect

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

Details

Committed
aacidJan 16 2019, 10:48 PM
Reviewer
KDE Connect
Differential Revision
D18181: Allow disabling persistent notification in Android 8.0 and up
Parents
R225:8466a6f85337: Update for Android Studio 3.3
Branches
Unknown
Tags
Unknown