aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-10-01 11:10:57 +0200
committerChristian Schneppe <christian@pix-art.de>2018-10-01 14:18:06 +0200
commitca9bc796558d86689ddb999f84cafb78781798fb (patch)
tree15033b489ee9570ea154c20fbbbf0eea09e9202b /src/main/java
parenta5e5b03b11c52d8b2a8cc4a3845bba5eb4f2a4cd (diff)
make NotificationManager final
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/services/NotificationService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/NotificationService.java b/src/main/java/de/pixart/messenger/services/NotificationService.java
index 4982e9fe2..57c667a82 100644
--- a/src/main/java/de/pixart/messenger/services/NotificationService.java
+++ b/src/main/java/de/pixart/messenger/services/NotificationService.java
@@ -107,7 +107,7 @@ public class NotificationService {
@RequiresApi(api = Build.VERSION_CODES.O)
public void initializeChannels() {
final Context c = mXmppConnectionService;
- NotificationManager notificationManager = c.getSystemService(NotificationManager.class);
+ final NotificationManager notificationManager = c.getSystemService(NotificationManager.class);
if (notificationManager == null) {
return;
}