From 4d8da7e2349df5180289f1b352675256f35a0c3f Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 25 Dec 2013 20:44:51 +0100 Subject: fix Comparison method violates its general contract! --- vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java index 9bb2361..89408dc 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java @@ -126,6 +126,9 @@ OnItemClickListener { @Override public int compare(final Timer item1, final Timer item2) { if (item1.isRecurring()) { + if(item2.isRecurring()){ + return 0; + } return 1; } if (item2.isRecurring()) { -- cgit v1.2.3