mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
b30a8d9b8a
commit
d055679448
|
@ -1601,7 +1601,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
EntityLog.log(this, account.name + " closing");
|
EntityLog.log(this, account.name + " closing");
|
||||||
db.account().setAccountState(account.id, "closing");
|
db.account().setAccountState(account.id, "closing");
|
||||||
|
|
||||||
// Stop watching for operations
|
// Stop watching operations
|
||||||
|
Log.i(account.name + " stop watching operations");
|
||||||
getMainHandler().post(new Runnable() {
|
getMainHandler().post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -1610,7 +1611,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Cancel running operations
|
// Stop executing operations
|
||||||
|
Log.i(account.name + " stop executing operations");
|
||||||
ht.quit();
|
ht.quit();
|
||||||
|
|
||||||
// Close folders
|
// Close folders
|
||||||
|
|
Loading…
Reference in New Issue