aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-12-15 19:28:21 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-12-15 19:28:21 +0100
commit03ca971e2e6a816d1a64123633b2e1ec7d087323 (patch)
tree12e88549c30935fb1a1a88b75c86d9a4f5ddaaae /src
parentab2187dbdfa048102dd6e38c73f35c518b90a526 (diff)
parentea61142d7e5c2059913b767f96ebee5053cdb4f7 (diff)
Merge pull request #782 from SamWhited/quiet-hours
Make some magic number constants final
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/services/NotificationService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java
index e13ef1b3..9e21d160 100644
--- a/src/main/java/eu/siacs/conversations/services/NotificationService.java
+++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java
@@ -42,9 +42,9 @@ public class NotificationService {
private final LinkedHashMap<String, ArrayList<Message>> notifications = new LinkedHashMap<>();
- public static int NOTIFICATION_ID = 0x2342;
- public static int FOREGROUND_NOTIFICATION_ID = 0x8899;
- public static int ERROR_NOTIFICATION_ID = 0x5678;
+ public static final int NOTIFICATION_ID = 0x2342;
+ public static final int FOREGROUND_NOTIFICATION_ID = 0x8899;
+ public static final int ERROR_NOTIFICATION_ID = 0x5678;
private Conversation mOpenConversation;
private boolean mIsInForeground;