Loading app/src/main/java/net/fabiszewski/ulogger/NotificationHelper.java +5 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,11 @@ class NotificationHelper { PendingIntent resultPendingIntent = stackBuilder.getPendingIntent(0, flags); builder.setContentIntent(resultPendingIntent); Notification notification = builder.build(); try { notificationManager.notify(notificationId, notification); } catch (SecurityException e) { if (Logger.DEBUG) { Log.d(TAG, "[notification not allowed: " + e + "]"); } } return notification; } Loading Loading
app/src/main/java/net/fabiszewski/ulogger/NotificationHelper.java +5 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,11 @@ class NotificationHelper { PendingIntent resultPendingIntent = stackBuilder.getPendingIntent(0, flags); builder.setContentIntent(resultPendingIntent); Notification notification = builder.build(); try { notificationManager.notify(notificationId, notification); } catch (SecurityException e) { if (Logger.DEBUG) { Log.d(TAG, "[notification not allowed: " + e + "]"); } } return notification; } Loading