Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/org/adblockplus/android/Utils.java

Issue 5327480814567424: Issue 1108 - Support notifications (Closed)
Patch Set: Even more renaming, ignore INVALID/QUESTION Created Feb. 18, 2015, 3 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/org/adblockplus/android/Utils.java
diff --git a/src/org/adblockplus/android/Utils.java b/src/org/adblockplus/android/Utils.java
index b8338fc2cbbef17692fea0a0c272e79c5ab2e423..4f56cf96f4dcdafa8fd7287defec9e2b86d08399 100644
--- a/src/org/adblockplus/android/Utils.java
+++ b/src/org/adblockplus/android/Utils.java
@@ -91,8 +91,7 @@ public final class Utils
final Notification notification = builder.getNotification();
final NotificationManager notificationManager =
(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
- final int updateNotificationId = R.string.app_name + 1;
- notificationManager.notify(updateNotificationId, notification);
+ notificationManager.notify(AdblockPlus.UPDATE_NOTIFICATION_ID, notification);
}
protected static void updateSubscriptionStatus(final Context context, final Subscription sub)

Powered by Google App Engine
This is Rietveld