When instantiating an account, set the default color to something

random, rather than blank, so that new accounts don't endup without
colors.
This commit is contained in:
Jesse Vincent 2010-05-15 20:35:47 +00:00
parent f799be05c9
commit 384803076d
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class Account implements BaseAccount
mExpungePolicy = EXPUNGE_IMMEDIATELY;
mAutoExpandFolderName = "INBOX";
mMaxPushFolders = 10;
mChipColor = 0;
mChipColor = (new Random()).nextInt(0xffffff) + 0xff000000;
goToUnreadMessageSearch = false;
searchableFolders = Searchable.ALL;