Add some debug statements.
Change-Id: I9295bedb5b7908c8ee873285c255816373d2c602
This commit is contained in:
parent
36f18be31c
commit
cd69d44da0
@ -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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user