Remove unused callback MessagingListener.emptyTrashCompleted()
This commit is contained in:
parent
0cd7164c2e
commit
0b49b22af0
3 changed files with 3 additions and 8 deletions
|
@ -2198,7 +2198,8 @@ public class MessagingController {
|
|||
LocalFolder localFolder = null;
|
||||
try {
|
||||
LocalStore localStore = localStoreProvider.getInstance(account);
|
||||
localFolder = localStore.getFolder(account.getTrashFolder());
|
||||
String trashFolderServerId = account.getTrashFolder();
|
||||
localFolder = localStore.getFolder(trashFolderServerId);
|
||||
localFolder.open();
|
||||
|
||||
boolean isTrashLocalOnly = isTrashLocalOnly(account);
|
||||
|
@ -2209,7 +2210,7 @@ public class MessagingController {
|
|||
}
|
||||
|
||||
for (MessagingListener l : getListeners()) {
|
||||
l.emptyTrashCompleted(account);
|
||||
l.folderStatusChanged(account, trashFolderServerId, 0);
|
||||
}
|
||||
|
||||
if (!isTrashLocalOnly) {
|
||||
|
|
|
@ -39,8 +39,6 @@ public interface MessagingListener {
|
|||
void sendPendingMessagesCompleted(Account account);
|
||||
void sendPendingMessagesFailed(Account account);
|
||||
|
||||
void emptyTrashCompleted(Account account);
|
||||
|
||||
void folderStatusChanged(Account account, String folderServerId, int unreadMessageCount);
|
||||
void systemStatusChanged();
|
||||
|
||||
|
|
|
@ -91,10 +91,6 @@ public abstract class SimpleMessagingListener implements MessagingListener {
|
|||
public void sendPendingMessagesFailed(Account account) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void emptyTrashCompleted(Account account) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void folderStatusChanged(Account account, String folderServerId, int unreadMessageCount) {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue