2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 05:07:40 +00:00

Don't sync notification on connection

This commit is contained in:
Nicolas Fella 2019-09-17 09:43:03 +00:00
parent bec3a0c147
commit e3e4fc6552

View File

@ -139,10 +139,6 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
service.addListener(NotificationsPlugin.this);
serviceReady = service.isConnected();
if (serviceReady) {
sendCurrentNotifications(service);
}
});
return true;
@ -157,7 +153,6 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
@Override
public void onListenerConnected(NotificationReceiver service) {
serviceReady = true;
sendCurrentNotifications(service);
}
@Override