2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-01 14:45:08 +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); service.addListener(NotificationsPlugin.this);
serviceReady = service.isConnected(); serviceReady = service.isConnected();
if (serviceReady) {
sendCurrentNotifications(service);
}
}); });
return true; return true;
@@ -157,7 +153,6 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
@Override @Override
public void onListenerConnected(NotificationReceiver service) { public void onListenerConnected(NotificationReceiver service) {
serviceReady = true; serviceReady = true;
sendCurrentNotifications(service);
} }
@Override @Override