diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-12-15 19:28:21 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-12-15 19:28:21 +0100 |
commit | 03ca971e2e6a816d1a64123633b2e1ec7d087323 (patch) | |
tree | 12e88549c30935fb1a1a88b75c86d9a4f5ddaaae /src/main/java | |
parent | ab2187dbdfa048102dd6e38c73f35c518b90a526 (diff) | |
parent | ea61142d7e5c2059913b767f96ebee5053cdb4f7 (diff) |
Merge pull request #782 from SamWhited/quiet-hours
Make some magic number constants final
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/NotificationService.java | 6 |
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; |