1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Astyle recent changes for StorageManager listener.

This commit is contained in:
danapple 2011-03-20 15:37:51 -05:00
parent 90fc3d2c8d
commit 3f45df2bd4

View File

@ -293,18 +293,15 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
outState.putSerializable(ACCOUNT_STATS, accountStats);
}
private StorageManager.StorageListener storageListener = new StorageManager.StorageListener()
{
private StorageManager.StorageListener storageListener = new StorageManager.StorageListener() {
@Override
public void onUnmount(String providerId)
{
public void onUnmount(String providerId) {
refresh();
}
@Override
public void onMount(String providerId)
{
public void onMount(String providerId) {
refresh();
}
};
@ -335,8 +332,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
newAccounts = new ArrayList<BaseAccount>(accounts.length + 2);
newAccounts.add(integratedInboxAccount);
newAccounts.add(unreadAccount);
}
else {
} else {
newAccounts = new ArrayList<BaseAccount>(accounts.length);
}