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;
|
dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log.i("Dirty=" + dirty + " id=" + draft.id);
|
||||||
|
|
||||||
if (draft.revision == null) {
|
if (draft.revision == null) {
|
||||||
draft.revision = 1;
|
draft.revision = 1;
|
||||||
draft.revisions = 1;
|
draft.revisions = 1;
|
||||||
|
@ -6997,6 +6999,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
if (silent) {
|
if (silent) {
|
||||||
// Skip storing on the server, etc
|
// Skip storing on the server, etc
|
||||||
|
Log.i("Silent id=" + draft.id);
|
||||||
db.setTransactionSuccessful();
|
db.setTransactionSuccessful();
|
||||||
return draft;
|
return draft;
|
||||||
}
|
}
|
||||||
|
@ -7011,6 +7014,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
boolean needsEncryption = (dirty && !encrypted && shouldEncrypt);
|
boolean needsEncryption = (dirty && !encrypted && shouldEncrypt);
|
||||||
boolean autosave = extras.getBoolean("autosave");
|
boolean autosave = extras.getBoolean("autosave");
|
||||||
if (needsEncryption && !autosave) {
|
if (needsEncryption && !autosave) {
|
||||||
|
Log.i("Need encryption id=" + draft.id);
|
||||||
args.putBoolean("needsEncryption", true);
|
args.putBoolean("needsEncryption", true);
|
||||||
db.setTransactionSuccessful();
|
db.setTransactionSuccessful();
|
||||||
return draft;
|
return draft;
|
||||||
|
|
Loading…
Reference in New Issue