Commit cd9b5e99 authored by Lucas Braz Cunha's avatar Lucas Braz Cunha
Browse files

AGILE#320: Bug fix - Notifications List Service


Signed-off-by: Lucas Braz Cunha's avatarLucas Braz Cunha <lbc16@inf.ufpr.br>
parent f1c74016
......@@ -91,7 +91,7 @@ public class NotificationsListService extends JobService {
Log.d("Notificacao", "NOTIFICACOES NO SERVIDOR");
for(NotificationReturn nr : responseList){
Log.d("Notificacao", gson.toJson(nr));
if(newLocalNotifications.get(nr.notificationId) == null && nr.hasRead){
if(newLocalNotifications.get(nr.notificationId) == null && !nr.hasRead){
LocalNotificationManager.createLocalNotification(getApplicationContext(),
nr, osb, gson);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment