mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Disable restoring unread message counts on Accounts page after
orientation change (onResume) until I figure out the ClassCastException Will slow down display of unread message counts, but they will show up after a slight delay.
This commit is contained in:
parent
98ff7af644
commit
c0b3c9dafa
@ -124,6 +124,7 @@ public class Accounts extends ListActivity implements OnItemClickListener, OnCli
|
||||
if (icicle != null && icicle.containsKey(SELECTED_CONTEXT_ACCOUNT)) {
|
||||
mSelectedContextAccount = (Account) icicle.getSerializable("selectedContextAccount");
|
||||
}
|
||||
/*
|
||||
if (icicle != null)
|
||||
{
|
||||
ConcurrentHashMap<String, Integer> oldUnreadMessageCounts =
|
||||
@ -131,7 +132,7 @@ public class Accounts extends ListActivity implements OnItemClickListener, OnCli
|
||||
if (oldUnreadMessageCounts != null) {
|
||||
unreadMessageCounts.putAll(oldUnreadMessageCounts);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -204,7 +205,7 @@ public class Accounts extends ListActivity implements OnItemClickListener, OnCli
|
||||
}
|
||||
|
||||
private void onOpenAccount(Account account) {
|
||||
FolderMessageList.actionHandleAccount(this, account, Email.INBOX);
|
||||
FolderMessageList.actionHandleAccount(this, account);
|
||||
}
|
||||
|
||||
public void onClick(View view) {
|
||||
|
Loading…
Reference in New Issue
Block a user