mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
359e0fa73a
commit
372a6826f3
|
@ -6861,6 +6861,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
dirty = true;
|
||||
}
|
||||
|
||||
Log.i("Dirty=" + dirty + " id=" + draft.id);
|
||||
|
||||
if (draft.revision == null) {
|
||||
draft.revision = 1;
|
||||
draft.revisions = 1;
|
||||
|
@ -6997,6 +6999,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
if (silent) {
|
||||
// Skip storing on the server, etc
|
||||
Log.i("Silent id=" + draft.id);
|
||||
db.setTransactionSuccessful();
|
||||
return draft;
|
||||
}
|
||||
|
@ -7011,6 +7014,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
boolean needsEncryption = (dirty && !encrypted && shouldEncrypt);
|
||||
boolean autosave = extras.getBoolean("autosave");
|
||||
if (needsEncryption && !autosave) {
|
||||
Log.i("Need encryption id=" + draft.id);
|
||||
args.putBoolean("needsEncryption", true);
|
||||
db.setTransactionSuccessful();
|
||||
return draft;
|
||||
|
|
Loading…
Reference in New Issue