diff options
Diffstat (limited to 'src/com/android/calendar/agenda/AgendaWindowAdapter.java')
-rw-r--r-- | src/com/android/calendar/agenda/AgendaWindowAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/agenda/AgendaWindowAdapter.java b/src/com/android/calendar/agenda/AgendaWindowAdapter.java index 69011a8b..3481067b 100644 --- a/src/com/android/calendar/agenda/AgendaWindowAdapter.java +++ b/src/com/android/calendar/agenda/AgendaWindowAdapter.java @@ -452,7 +452,7 @@ public class AgendaWindowAdapter extends BaseAdapter selected = mSelectedInstanceId == vh.instanceId; vh.selectedMarker.setVisibility((selected && mShowEventOnStart) ? View.VISIBLE : View.GONE); - if (selected) { + if (selected && mShowEventOnStart) { mSelectedVH = vh; v.setBackgroundColor(mSelectedItemBackgroundColor); vh.title.setTextColor(mSelectedItemTextColor); |