mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
fix assertion by not handling Action
Was wrong to assert that unexpected Actions never arrived.
This commit is contained in:
parent
79e852a9eb
commit
a3bf942004
1 changed files with 3 additions and 1 deletions
|
@ -50,6 +50,7 @@ public class StudyListDelegate extends ListDelegateBase
|
||||||
implements OnItemSelectedListener, SelectableItem,
|
implements OnItemSelectedListener, SelectableItem,
|
||||||
View.OnLongClickListener, View.OnClickListener,
|
View.OnLongClickListener, View.OnClickListener,
|
||||||
DBUtils.StudyListListener {
|
DBUtils.StudyListListener {
|
||||||
|
private static final String TAG = StudyListDelegate.class.getSimpleName();
|
||||||
|
|
||||||
protected static final int NO_LANG = -1;
|
protected static final int NO_LANG = -1;
|
||||||
|
|
||||||
|
@ -220,7 +221,8 @@ public class StudyListDelegate extends ListDelegateBase
|
||||||
showToast( msg );
|
showToast( msg );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Assert.assertFalse( BuildConfig.DEBUG );
|
Log.d( TAG, "not handling: %s", action );
|
||||||
|
handled = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return handled;
|
return handled;
|
||||||
|
|
Loading…
Reference in a new issue