Correct the notification repeat interval

Switch to 2min from 10sec.

Closes #3002
This commit is contained in:
Carey Metcalfe 2015-04-16 10:52:50 -04:00 committed by Moxie Marlinspike
parent 64fc83326f
commit 7724964a36

View File

@ -429,7 +429,7 @@ public class MessageNotifier {
alarmIntent.putExtra("reminder_count", count);
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, alarmIntent, PendingIntent.FLAG_CANCEL_CURRENT);
long timeout = TimeUnit.SECONDS.toMillis(10);
long timeout = TimeUnit.MINUTES.toMillis(2);
alarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + timeout, pendingIntent);
}