From 9fd69b98a65826198f21735b108bf62c18b76bf3 Mon Sep 17 00:00:00 2001 From: Jamorham Date: Thu, 27 Oct 2016 21:29:37 +0100 Subject: [PATCH] TaskService persistent ratelimit --- app/src/main/java/com/eveningoutpost/dexdrip/TaskService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/TaskService.java b/app/src/main/java/com/eveningoutpost/dexdrip/TaskService.java index 03a84e064f..a2c05cec69 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/TaskService.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/TaskService.java @@ -46,7 +46,7 @@ public int onRunTask(TaskParams taskParams) { private int doUnmeteredTask() { if (GcmActivity.token != null) { - if (JoH.ratelimit("unmetered-update", 43200)) { + if (JoH.pratelimit("unmetered-update", 43200)) { UpdateActivity.checkForAnUpdate(getApplicationContext()); } }