Loading src/com/android/email/mail/store/ImapStore.java +3 −3 Original line number Diff line number Diff line Loading @@ -387,9 +387,10 @@ public class ImapStore extends Store { String command = String.format("SELECT \"%s\"", encodeFolderName(getPrefixedName())); mMessageCount = -1; List<ImapResponse> responses = executeSimpleCommand(command); mMessageCount = -1; /* * If the command succeeds we expect the folder has been opened read-write * unless we are notified otherwise in the responses. Loading @@ -397,7 +398,6 @@ public class ImapStore extends Store { mMode = OpenMode.READ_WRITE; for (ImapResponse response : responses) { handleUntaggedResponse(response); if (response.mTag != null && response.size() >= 2) { if ("[READ-ONLY]".equalsIgnoreCase(response.getString(1))) { mMode = OpenMode.READ_ONLY; Loading Loading
src/com/android/email/mail/store/ImapStore.java +3 −3 Original line number Diff line number Diff line Loading @@ -387,9 +387,10 @@ public class ImapStore extends Store { String command = String.format("SELECT \"%s\"", encodeFolderName(getPrefixedName())); mMessageCount = -1; List<ImapResponse> responses = executeSimpleCommand(command); mMessageCount = -1; /* * If the command succeeds we expect the folder has been opened read-write * unless we are notified otherwise in the responses. Loading @@ -397,7 +398,6 @@ public class ImapStore extends Store { mMode = OpenMode.READ_WRITE; for (ImapResponse response : responses) { handleUntaggedResponse(response); if (response.mTag != null && response.size() >= 2) { if ("[READ-ONLY]".equalsIgnoreCase(response.getString(1))) { mMode = OpenMode.READ_ONLY; Loading