Close without expunging

pull/209/head
M66B 2 years ago
parent 8cb1e7fe2f
commit a6b4e15d3d

@ -814,7 +814,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
try { try {
if (state.ifolder != null && state.ifolder.isOpen()) if (state.ifolder != null && state.ifolder.isOpen())
state.ifolder.close(); state.ifolder.close(false);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e("Boundary", ex); Log.e("Boundary", ex);
} }

@ -1089,7 +1089,7 @@ class Core {
archived = (imessages != null && imessages.length > 0); archived = (imessages != null && imessages.length > 0);
} finally { } finally {
if (iarchive.isOpen()) if (iarchive.isOpen())
iarchive.close(); iarchive.close(false);
} }
if (archived) if (archived)
@ -1642,7 +1642,7 @@ class Core {
Log.w(ex); Log.w(ex);
} finally { } finally {
if (itarget.isOpen()) if (itarget.isOpen())
itarget.close(); itarget.close(false);
} }
// Delete junk contacts // Delete junk contacts
@ -2337,7 +2337,7 @@ class Core {
try { try {
itarget.open(READ_WRITE); itarget.open(READ_WRITE);
itarget.setSubscribed(subscribed); itarget.setSubscribed(subscribed);
itarget.close(); itarget.close(false);
} catch (MessagingException ex) { } catch (MessagingException ex) {
Log.w(ex); Log.w(ex);
} }

Loading…
Cancel
Save