D17521: Add incremental notifications plugin settings database upgrade

Simon Redman noreply at phabricator.kde.org
Wed Dec 12 04:28:18 GMT 2018


sredman created this revision.
sredman added a reviewer: KDE Connect.
sredman requested review of this revision.

REVISION SUMMARY
  When upgrading the app to the version with the new privacy options (D17126 <https://phabricator.kde.org/D17126>), the app will crash with some error about missing a table in the Notifications Plugin database. This patch adds the table in onUpgrade in a proper way.

TEST PLAN
  - Build current app from master
  - Disable some apps in the Notifications plugin
  - Apply this patch (as well as its dependency, D17126 <https://phabricator.kde.org/D17126>)
  - The app should work, with your old settings, and now able to toggle privacy options!

BRANCH
  arcpatch-D17126

REVISION DETAIL
  https://phabricator.kde.org/D17521

AFFECTED FILES
  src/org/kde/kdeconnect/Plugins/NotificationsPlugin/AppDatabase.java

To: sredman, #kde_connect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20181212/944e137d/attachment.html>


More information about the KDEConnect mailing list