Add some debug statements.

Change-Id: I9295bedb5b7908c8ee873285c255816373d2c602
This commit is contained in:
Danny Baumann 2015-06-09 15:31:26 +02:00 committed by Steve Kondik
parent 36f18be31c
commit cd69d44da0
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,7 @@ public class ImapFolder extends Folder {
} }
public void startIdling(final IdleCallback callback) throws MessagingException { public void startIdling(final IdleCallback callback) throws MessagingException {
LogUtils.d(LOG_TAG, "startIdling on folder " + mName);
checkOpen(); checkOpen();
synchronized (mIdleSync) { synchronized (mIdleSync) {
if (mIdling) { if (mIdling) {
@ -341,6 +342,7 @@ public class ImapFolder extends Folder {
} }
public void stopIdling(boolean discardConnection) throws MessagingException { public void stopIdling(boolean discardConnection) throws MessagingException {
LogUtils.d(LOG_TAG, "stopIdling on folder " + mName);
if (!isOpen()) { if (!isOpen()) {
throw new MessagingException("Folder " + mName + " is not open."); throw new MessagingException("Folder " + mName + " is not open.");
} }