Add incremental notifications plugin settings database upgrade
ClosedPublic

Authored by sredman on Dec 12 2018, 4:28 AM.

Details

Summary

When upgrading the app to the version with the new privacy options (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)
  • The app should work, with your old settings, and now able to toggle privacy options!

Diff Detail

Repository
R225 KDE Connect - Android application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sredman requested review of this revision.Dec 12 2018, 4:28 AM
sredman created this revision.
albertvaka accepted this revision.Dec 12 2018, 11:37 AM
This revision is now accepted and ready to land.Dec 12 2018, 11:37 AM
This revision was automatically updated to reflect the committed changes.
Restricted Application added a project: KDE Connect. · View Herald TranscriptDec 13 2018, 2:12 AM
Restricted Application added a subscriber: kdeconnect. · View Herald Transcript