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

View File

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