mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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,
|
||||
View.OnLongClickListener, View.OnClickListener,
|
||||
DBUtils.StudyListListener {
|
||||
private static final String TAG = StudyListDelegate.class.getSimpleName();
|
||||
|
||||
protected static final int NO_LANG = -1;
|
||||
|
||||
|
@ -220,7 +221,8 @@ public class StudyListDelegate extends ListDelegateBase
|
|||
showToast( msg );
|
||||
break;
|
||||
default:
|
||||
Assert.assertFalse( BuildConfig.DEBUG );
|
||||
Log.d( TAG, "not handling: %s", action );
|
||||
handled = false;
|
||||
break;
|
||||
}
|
||||
return handled;
|
||||
|
|
Loading…
Reference in a new issue