Skip to content

Commit

Permalink
switched to non-_WAKEUP alarm for non-WakefulIntentService
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Jul 26, 2012
1 parent 9979d82 commit 25d6575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static void scheduleAlarms(Context ctxt) {
Intent i=new Intent(ctxt, ScheduledService.class);
PendingIntent pi=PendingIntent.getService(ctxt, 0, i, 0);

mgr.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP,
mgr.setRepeating(AlarmManager.ELAPSED_REALTIME,
SystemClock.elapsedRealtime() + PERIOD, PERIOD, pi);
}
}

0 comments on commit 25d6575

Please sign in to comment.