Niedzielski has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/336717 )
Change subject: Fix: unit error in polling period for Wikidata notifications ...................................................................... Fix: unit error in polling period for Wikidata notifications Change-Id: Ie65c080b2ff0e82d2215691847f1210c0ddb3a88 --- M app/src/main/java/org/wikipedia/notifications/NotificationPollBroadcastReceiver.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia refs/changes/17/336717/1 diff --git a/app/src/main/java/org/wikipedia/notifications/NotificationPollBroadcastReceiver.java b/app/src/main/java/org/wikipedia/notifications/NotificationPollBroadcastReceiver.java index c1474c3..ceb8b9b 100644 --- a/app/src/main/java/org/wikipedia/notifications/NotificationPollBroadcastReceiver.java +++ b/app/src/main/java/org/wikipedia/notifications/NotificationPollBroadcastReceiver.java @@ -42,7 +42,7 @@ AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); alarmManager.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime(), - context.getResources().getInteger(R.integer.notification_poll_interval_minutes), + TimeUnit.MINUTES.toMillis(context.getResources().getInteger(R.integer.notification_poll_interval_minutes)), getAlarmPendingIntent(context)); } -- To view, visit https://gerrit.wikimedia.org/r/336717 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie65c080b2ff0e82d2215691847f1210c0ddb3a88 Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org> Gerrit-Reviewer: Sniedzielski <sniedziel...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits