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:
parent
bec3a0c147
commit
e3e4fc6552
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user