1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 14:02:56 +01:00

Merge branch 'master' into feature-calendarsync

This commit is contained in:
Andreas Shimokawa 2017-04-16 19:59:23 +02:00
commit f7ca1fc76c

View File

@ -384,7 +384,9 @@ public class DBHelper {
} else { } else {
ensureDeviceUpToDate(device, gbDevice, session); ensureDeviceUpToDate(device, gbDevice, session);
} }
ensureDeviceAttributes(device, gbDevice, session); if (gbDevice.isInitialized()) {
ensureDeviceAttributes(device, gbDevice, session);
}
return device; return device;
} }