Skip to content
Snippets Groups Projects
Commit 51903350 authored by Volker Richert's avatar Volker Richert
Browse files

- upgrade to Realm 2.2.2

- minor changes
parent 12161cf1
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ buildscript {
dependencies {
classpath 'io.fabric.tools:gradle:1.21.6'
classpath 'io.realm:realm-gradle-plugin:2.2.2'
classpath 'org.ajoberstar:grgit:1.5.0'
}
}
......
......@@ -56,15 +56,15 @@ public class MedtronicCnlAlarmManager {
millis = now;
// only accept alarm nearer than the last one
if (nextAlarm < millis && nextAlarm >= now) {
return;
}
//if (nextAlarm < millis && nextAlarm > now) {
// return;
//}
cancelAlarm();
nextAlarm = millis;
Log.d(TAG, "AlarmManager set to fire at " + new Date(millis));
Log.d(TAG, "Alarm set to fire at " + new Date(millis));
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(millis, null), pendingIntent);
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
......
......@@ -8,7 +8,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:2.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath "io.realm:realm-gradle-plugin:1.0.0"
classpath 'io.realm:realm-gradle-plugin:2.2.2'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment