From 7e2dbf1045b2dfc3cbeebe6453b3e881ba281e8d Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Sat, 10 Apr 2021 17:44:27 +0300 Subject: [PATCH] [android]: Fix an unintentional change in the previous commit Sorry for that. Signed-off-by: Roman Tsisyk --- .../src/com/mapswithme/maps/background/NotificationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/mapswithme/maps/background/NotificationService.java b/android/src/com/mapswithme/maps/background/NotificationService.java index c3e29859a7..ca46ccb1f2 100644 --- a/android/src/com/mapswithme/maps/background/NotificationService.java +++ b/android/src/com/mapswithme/maps/background/NotificationService.java @@ -34,7 +34,7 @@ public class NotificationService extends JobIntentService final Intent intent = new Intent(context, NotificationService.class) .setAction(CONNECTIVITY_ACTION); - int id = JobIdMap.getId(NotificationService.class.hashCode(); + int id = JobIdMap.getId(NotificationService.class); JobIntentService.enqueueWork(context, NotificationService.class, id, intent); }