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:
@@ -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
|
||||
|
Reference in New Issue
Block a user