File tree 1 file changed +1
-3
lines changed
tests/src/com/android/calendar/event
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 31
31
import android .test .mock .MockResources ;
32
32
import android .test .suitebuilder .annotation .SmallTest ;
33
33
import android .test .suitebuilder .annotation .Smoke ;
34
- import android .text .TextUtils ;
35
34
import android .text .format .DateUtils ;
36
35
import android .text .format .Time ;
37
36
import android .text .util .Rfc822Token ;
38
- import android .util .Log ;
39
37
40
38
import com .android .calendar .AbstractCalendarActivity ;
41
39
import com .android .calendar .AsyncQueryService ;
@@ -1558,7 +1556,7 @@ private CalendarEventModel buildTestModel() {
1558
1556
model .mGuestsCanModify = false ;
1559
1557
model .mEventStatus = Events .STATUS_CONFIRMED ;
1560
1558
int displayColor = Utils .getDisplayColorFromColor (-2350809 );
1561
- model .mEventColor = displayColor ;
1559
+ model .setEventColor ( displayColor ) ;
1562
1560
model .
mCalendarAccountName =
"[email protected] " ;
1563
1561
model .mCalendarAccountType = "gmail.com" ;
1564
1562
EventColorCache cache = new EventColorCache ();
You can’t perform that action at this time.
0 commit comments