diff --git a/xwords4/android/XWords4/res/raw/changes b/xwords4/android/XWords4/res/raw/changes index 4adb76491..0b299440d 100644 --- a/xwords4/android/XWords4/res/raw/changes +++ b/xwords4/android/XWords4/res/raw/changes @@ -7,6 +7,7 @@ Crosswords 4.4 beta 42 release diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayReceiver.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayReceiver.java index 8c1dc0371..56047f6ed 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayReceiver.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayReceiver.java @@ -69,9 +69,9 @@ public class RelayReceiver extends BroadcastReceiver { PendingIntent pi = PendingIntent.getBroadcast( context, 0, intent, 0 ); if ( force || interval_millis > 0 ) { - long first_millis = SystemClock.elapsedRealtime(); + long first_millis = 0; if ( !force ) { - first_millis += interval_millis; + first_millis = SystemClock.elapsedRealtime() + interval_millis; } am.setInexactRepeating( AlarmManager.ELAPSED_REALTIME_WAKEUP, first_millis, // first firing