1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-09-26 16:26:52 +02:00

Merge branch 'master' into black_whitelist_for_notifications

This commit is contained in:
cpfeiffer 2019-01-16 23:49:15 +01:00
commit 0b0d18dd9f
5 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,8 @@
### Changelog
#### Version 0.32.1
* Fix db deadlock on alarm migration
#### Version 0.32.0
* Initial support for Casio GB-6900B
* Increase number of alarms and store them per-device

View File

@ -25,8 +25,8 @@ android {
targetSdkVersion 27
// Note: always bump BOTH versionCode and versionName!
versionName "0.32.0"
versionCode 143
versionName "0.32.1"
versionCode 144
vectorDrawables.useSupportLibrary = true
}
buildTypes {

View File

@ -88,8 +88,7 @@ public class AlarmUtils {
Set<String> stringAlarms = prefs.getStringSet(MiBandConst.PREF_MIBAND_ALARMS, new HashSet<String>());
List<Alarm> alarms = new ArrayList<>(stringAlarms.size());
try {
DBHandler db = GBApplication.acquireDB();
try (DBHandler db = GBApplication.acquireDB()) {
DaoSession daoSession = db.getDaoSession();
User user = DBHelper.getUser(daoSession);
Device device = DBHelper.getDevice(gbDevice, daoSession);

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog>
<release version="0.32.1" versioncode="144">
<change>Fix db deadlock on alarm migration</change>
</release>
<release version="0.32.0" versioncode="143">
<change>Initial support for Casio GB-6900B</change>
<change>Increase number of alarms and store them per-device </change>

View File

@ -0,0 +1 @@
* Fix db deadlock on alarm migration