mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 07:10:14 -05:00
Fix r1436
This commit is contained in:
parent
80ae0402e5
commit
48c7189d03
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user