Permalink
Browse files

Use setExactAndAllowWhileIdle

  • Loading branch information...
geekarist committed Jun 26, 2018
1 parent 82d6272 commit 11290b3249edb15619f0199cfca21d231b3097ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/and/tagTime/src/main/java/bsoule/tagtime/PingService.java
@@ -298,7 +298,7 @@ private void setAlarm(long PING) {
PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, alit, 0);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
alarum.setAndAllowWhileIdle(type, trigger, pendingIntent);
alarum.setExactAndAllowWhileIdle(type, trigger, pendingIntent);
} else {
alarum.set(type, trigger, pendingIntent);
}

0 comments on commit 11290b3

Please sign in to comment.