mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Cleanup
This commit is contained in:
@@ -69,8 +69,6 @@ import javax.mail.MessagingException;
|
||||
import javax.mail.NoSuchProviderException;
|
||||
import javax.mail.ReadOnlyFolderException;
|
||||
import javax.mail.StoreClosedException;
|
||||
import javax.mail.event.ConnectionAdapter;
|
||||
import javax.mail.event.ConnectionEvent;
|
||||
import javax.mail.event.FolderAdapter;
|
||||
import javax.mail.event.FolderEvent;
|
||||
import javax.mail.event.MessageChangedEvent;
|
||||
@@ -793,24 +791,6 @@ public class ServiceSynchronize extends ServiceBase {
|
||||
}
|
||||
});
|
||||
|
||||
// Listen for connection events
|
||||
iservice.getStore().addConnectionListener(new ConnectionAdapter() {
|
||||
@Override
|
||||
public void opened(ConnectionEvent e) {
|
||||
Log.i(account.name + " opened event");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnected(ConnectionEvent e) {
|
||||
Log.e(account.name + " disconnected event");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void closed(ConnectionEvent e) {
|
||||
Log.e(account.name + " closed event");
|
||||
}
|
||||
});
|
||||
|
||||
// Update folder list
|
||||
Core.onSynchronizeFolders(this, account, iservice.getStore(), state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user