diff --git a/src/com/fsck/k9/mail/store/StorageManager.java b/src/com/fsck/k9/mail/store/StorageManager.java index 6537e637c..27dd266d1 100644 --- a/src/com/fsck/k9/mail/store/StorageManager.java +++ b/src/com/fsck/k9/mail/store/StorageManager.java @@ -560,7 +560,7 @@ public class StorageManager { */ public String getDefaultProviderId() { // assume there is at least 1 provider defined - return mProviders.entrySet().iterator().next().getKey(); + return mProviders.keySet().iterator().next(); } /**