Provide upgrade path for cm-14.1 -> lineage-18.0
This just takes care of making the database is up to date with cm-14.1
* Increasing alarm and switch to profile still need to be implemented.
Includes the following changes:
Author: Michael W <baddaemon87@gmail.com>
Date: Thu Jul 9 23:55:59 2020 +0200
DeskClock: Remove references to org.lineageos.platform.internal
* Was used for a feature that isn't used anymore
* We need to create new tables because dropping columns isn't supported
-> create temp tables, copy over values, remove old tables, rename temp
tables
* Also fixes alarm inserts, which partially failed due to increasing
volume and profile being indexed wrong:
"CursorWindow: Failed to read row 0, column 11 from a CursorWindow which
has 1 rows, 11 columns."
* Above fix is required for "new Alarms(cursor)" to not fail so we can
actually get a valid Alarms object to insert into our (temp) database
Change-Id: I80e495792dcb65955de09268c7df9c6846cee559
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Sat Jul 11 22:51:10 2020 +0300
DeskClock: Stop depending on platform APIs
* We can build with sdk_version = current after latest changes
Change-Id: Ie424ffd156e9595082dc8ad935fb1c9e8e22bd87
Change-Id: Ibbb2b618ddeb6f93cd95a0fba3923bfd6d3fbbbb
5 files changed