Fix r1436

This commit is contained in:
cketti 2010-02-09 16:57:30 +00:00
parent 80ae0402e5
commit 48c7189d03
1 changed files with 2 additions and 1 deletions

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;