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);
|
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
|
||||||
|
Reference in New Issue
Block a user