mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Added send progress
This commit is contained in:
@@ -26,7 +26,6 @@ import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.Network;
|
||||
import android.net.NetworkInfo;
|
||||
import android.os.Build;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.security.KeyChain;
|
||||
@@ -301,6 +300,10 @@ public class EmailService implements AutoCloseable {
|
||||
properties.put("mail." + protocol + ".dsn.notify", what);
|
||||
}
|
||||
|
||||
void setProgress(SMTPTransport.IProgress listener) {
|
||||
properties.put("mail." + protocol + ".progress", listener);
|
||||
}
|
||||
|
||||
void setListener(StoreListener listener) {
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user