Fix #2432959 (Exchange events appear transparent in Calendar)

* Forgot to add alpha value to calendar color after retrieving
  from the color array

Bug: 2432959
Change-Id: I58710a550b374443f39c0ba7acdea9792f1382db
This commit is contained in:
Marc Blank 2010-02-09 22:01:42 -08:00
parent 50d1610c43
commit fcf41c4d9e
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ public class FolderSyncParser extends AbstractSyncParser {
cv.put(Calendars.SELECTED, 1);
cv.put(Calendars.HIDDEN, 0);
// TODO Find out how to set color!!
cv.put(Calendars.COLOR, Email.getAccountColor(mAccountId));
cv.put(Calendars.COLOR, 0xFF000000 | Email.getAccountColor(mAccountId));
cv.put(Calendars.TIMEZONE, Time.getCurrentTimezone());
cv.put(Calendars.ACCESS_LEVEL, Calendars.OWNER_ACCESS);
cv.put(Calendars.OWNER_ACCOUNT, mAccount.mEmailAddress);