1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fix r1436

This commit is contained in:
cketti 2010-02-09 16:57:30 +00:00
parent 80ae0402e5
commit 48c7189d03

View File

@ -397,7 +397,8 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
Account[] accounts = Preferences.getPreferences(this).getAccounts();
for (Account acc : accounts)
{
if (acc.isStoreAttachmentOnSdCard())
if (acc.isStoreAttachmentOnSdCard()
&& !Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED))
{
Toast.makeText(this, R.string.sd_card_skip, Toast.LENGTH_LONG).show();
break;